Skip to content

How do I set up webhooks?

Add an HTTPS endpoint in the Dashboard, choose its events, and answer each delivery with a 2xx within 15 seconds.

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.

Search help articles

Find an answer in the Sovgate help center and jump straight to it.