Skip to main content
POST
/
webhook
Crear un nuevo webhook
curl --request POST \
  --url https://api.fint.app/api/v1/webhook \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "url": "<string>",
  "events": [
    "payment.created"
  ],
  "externalReference": "<string>"
}
'
{
  "id": 123
}

Authorizations

x-api-key
string
header
required

Body

application/json
url
string<uri>
required
events
enum<string>[]
required
Minimum array length: 1
Available options:
payment.created,
payment.voided,
payment.chargeback,
contact.status,
contact.active,
contact.inactive,
subscription.created,
subscription.updated,
subscription.cancelled
externalReference
string

Response

Webhook creado con éxito

id
number
required