v1
latestOpenAPI 3.1.02026-07-131991131.4 KBWebhooks
Register a webhook
Creates a new webhook. Webhooks are registered per merchant_code and per environment: the environment is determined by the secret key you authorize the request with — a production key (sk_...) registers webhooks for production payments, a test key (sk_test_...) registers webhooks for test payments. Each merchant_code + key pair can have up to 4 webhooks.
post/api/v1/webhooks
Headers
X-Merchant-Codestring required
Example:code provided to you from Tabby side
Used for multi store/countries setup, please contact your Account manager to recognize that
Request body
Example request
{
"url": "https://example.com/",
"header": {
"title": "Arbitrary header name to sign the request",
"value": "Random string to sign the request"
}
}Response
Success. Webhook object is returned.
Example response
{
"header": {
"title": "Arbitrary header name to sign the request",
"value": "Random string to sign the request"
},
"id": "unique webhook id",
"url": "https://example.com/"
}