Webhooks
Create Webhook
What we do at Conekta 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
Request
- Base URLhttps://api.conekta.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
Request body
Example request
{
"url": "https://webhook.site/89277eaa-a8e4-4306-8dc5-f55c80703dc8"
}Response
successful operation
Example response
{
"id": "6307a60c41de27127515a575",
"description": "Server payments processor",
"livemode": true,
"active": true,
"object": "event",
"status": "listening",
"subscribed_events": [
"charge.created",
"charge.paid",
"charge.under_fraud_review",
"charge.fraudulent",
"charge.refunded",
"charge.preauthorized",
"charge.declined",
"charge.canceled",
"charge.reversed",
"charge.pending_confirmation"
],
"url": "https://username:password@mockoon.conekta.io/payments-api/cash/merchant_approval"
}Changes
No recorded changes to this operation across all 2 revisions of this API.