Skip to main content
WEBHOOK

Body

application/json

Represents an occurrence in the system that triggers the webhook, containing an identifier, event type, and relevant data.

id
string
required

A unique identifier for the event.

type
string
required

The type of event that triggered the webhook, for example, 'subscription.created'.

Example:

"subscription.created"

data
Subscription Object · object
required

Contains the actual payload. The payload can be a different object depending on the event type. For example, for payment_session.* events, the payload will always be the payment_session object.

Response

200

Return a 200 status to indicate that the data was received successfully