v1

latestOpenAPI 3.0.3MIT-LICENSE2026-07-2469127278.1 KB
Webhooks

Create Webhook

What we do at Femsa translates into events. For example, an event of interest to us occurs at the time a payment is successfully processed. At that moment we will be interested in doing several things: Send an email to the buyer, generate an invoice, start the process of shipping the product, etc.

post/webhooks

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

Request body

urlstring url required

Here you must place the URL of your Webhook remember that you must program what you will do with the events received. Also do not forget to handle the HTTPS protocol for greater security.

synchronousboolean required

It is a value that allows to decide if the events will be synchronous or asynchronous. We recommend asynchronous = false

Example request

{
  "url": "https://webhook.site/89277eaa-a8e4-4306-8dc5-f55c80703dc8"
}

Response

successful operation