Skip to main content
WEBHOOK

Payload Fields

string
required
The ID of the customer whose balance was topped up.
string
required
The feature ID that was automatically topped up.
number
required
The normalized amount of balance granted by the top-up.
number
required
The configured balance threshold that triggered the top-up.
number
required
The customer’s remaining balance for the feature after the top-up.
boolean
required
Whether the auto top-up created a send_invoice invoice instead of auto-charging.
object
required
The invoice created for the auto top-up.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
string
required

The webhook event type.

Allowed value: "billing.auto_topup_succeeded"
data
object
required
Example:

Response

200

Webhook received successfully.