PUT
/
webhook
/
:webhookId
curl --request PUT \
  --url https://api.fint.app/api/v1/webhook/:webhookId \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "url": "<string>",
  "events": [
    "payment.created"
  ],
  "active": true
}'
{
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

webhookId
number
required

Body

application/json
url
string
required
events
enum<string>[]
required
Available options:
payment.created,
contact.status,
contact.active,
contact.inactive,
subscription.created,
subscription.updated,
subscription.cancelled
active
boolean
required

Response

200
application/json
Webhook actualizado con éxito por ID
message
string
required