9οΈβ£Webhooks
{
"callbackUrl": "https://webhook.site/81f3f721-303e-4b3c-899f-57db55aa5262",
"types": [
"customer.updated",
"account.updated",
"card.updated",
"authorisation.updated",
"transaction.updated"
]
}Creates new webhook subscription or updates an existing one
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
SignaturestringRequired
HTTP message signature
Signature-InputstringRequired
HTTP message signature input
Idempotency-Keystring Β· uuidRequired
Idempotency key (UUID)
Content-DigeststringRequired
Content digest
Body
idstring Β· uuidOptional
Unique ID of the webhook to be updated
callbackUrlstring Β· uriRequiredExample:
URL to be subscribed for receiving events
https://example.com/callbackResponses
200
Successful operation
application/json
Webhook details for subscribed callback URL receiving entity update events
idstring Β· uuidRequired
Unique webhook ID
callbackUrlstring Β· uriRequiredExample:
URL to be subscribed for receiving events
https://example.com/callbackcreatedAtstring Β· date-timeRequired
Date this webhook was created (ISO-8601)
updatedAtstring Β· date-timeRequired
Date this webhook was last updated (ISO-8601)
400
Invalid request
401
Not authorised
500
Internal error
put
/webhooksLast updated