Skip to main content
Sudo sends events to your webhook endpoint as things happen on your cards and accounts, so you don’t need to poll the API. To add an endpoint, see Set Up Webhooks. Every event has the same shape: a type, the environment (sandbox or production), your business ID, and the affected object in data.

Events

Respond with an HTTP 2xx status to acknowledge an event. For authorization.request and card.balance, your response body is used to answer the request, so reply within 4 seconds. If you set an authorization token in the Dashboard, Sudo sends it in the Authorization header. Webhook requests use POST with a JSON body. You can retry a failed delivery from the Dashboard.