Webhooks tell your server when something happens, such as a payment succeeding or a dispute opening.
Add an endpoint
In Developers → Webhooks, add your endpoint's address. It must be a public https address.
Choose events
Listen to all events, or only the types you need.
Verify each delivery
Check the Sovgate-Signature header with your endpoint's signing secret. See How do I verify a webhook signature?.
Answer quickly
Return a 2xx within 15 seconds, then do the slow work afterwards.
Rules to build for
- At least once: an event can arrive more than once. Ignore repeats by the event's ID.
- No order: events can arrive in any order. Read the latest state from the API when order matters.
- One event per request.
- No secrets inside: events never contain keys, card data or personal data. Fetch the details you need from the API.
- Up to 16 endpoints in each mode.
Related articles
Still need help?
Tell us what happened, and our support team will help.