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: A unique identifier of the event.
name: The type of event, e.g., payment_attempt.authorized
account_id: A unique identifier of the account this event belongs to.
data: This object contains business information that varies for each case. Please refer to the samples of each event type in the subpages.
created_at: The time the event was created.
version: The customer's preferred API version for webhook subscriptions, which determines the content within the data object.
JSON