Payload examples
The webhook payload is sent as JSON in the POST request body. The full event details are included and can be used directly, after parsing the JSON into an Event object.
This Event object contains:
id is the unique identifier of the event
accountId identifies the account this event belongs to
name which specifies the type of event (e.g. payment_attempt.authorized)
data object contains:
- Successful response: API JSON response
- Error: Error response if API call fails
Shell