v1
latestOpenAPI 3.0.1MIT2026-07-26336777.7 KBCreate a webhook configuration to receive realtime events for payments, intents, subscriptions, payouts, or setup methods.
post/webhook
Headers
Idempotency-Keystring
A unique key for making the request idempotent. Must match pattern: ^[a-zA-Z0-9\-_:\.]+$. See Idempotent Requests for more details.
Request body
Example request
{
"eventSigner": "secret_key",
"endpoint": "https://your-webhook-endpoint.com/webhook",
"subscribedEventTypes": [
"intent.created",
"intent.success",
"intent.failed",
"intent.refunded",
"intent.checkout_opened",
"subscription.trialing",
"subscription.cycle_charged"
]
}Response
Webhook configuration created successfully. Returns the identifier of the newly created webhook.
Example response
{
"webhookConfigId": "whc_gKAi2oZN1AeU7BfV"
}