This page will get you started with setting webhooks for your app
write_webhooks
scope.POST
request to /webhook
with a body payload:
url
: the URL you would like to set for your webhook.secret
: optional. If provided, the secret will be used to generate an HMAC signature that will be passed as a headerPOST
request to your webhook URL. In the event of a non-ok status code, Ziina will retry 3 times to delivery the event. The webhook request will contain a body with the following fields:
event
: the name of the event being delivereddata
: the event datapayment_intent.status.updated
: A payment intent’s status has been updatedX-Hmac-Signature
that can be used to confirm the authenticity of the request. The value of this field will be the hexadecimal encoded SHA-256 HMAC signature of the request body.
Webhooks will come from one of the following IP addresses. Do not accept the webhook if it comes from a different IP address: