You're viewing the docs for Autumn's v2 API. You can find the previous API version here.
{
"type": "billing.auto_topup_succeeded",
"data": {
"customer_id": "cus_123",
"feature_id": "messages",
"quantity_granted": 100,
"threshold": 20,
"balance_after": 115,
"invoice_mode": false,
"invoice": {
"stripe_id": "in_1A2B3C4D5E6F7G8H",
"status": "paid",
"total": 1000,
"currency": "usd",
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_123/test_456"
}
}
}Fired when an automatic top-up grants additional prepaid balance.
{
"type": "billing.auto_topup_succeeded",
"data": {
"customer_id": "cus_123",
"feature_id": "messages",
"quantity_granted": 100,
"threshold": 20,
"balance_after": 115,
"invoice_mode": false,
"invoice": {
"stripe_id": "in_1A2B3C4D5E6F7G8H",
"status": "paid",
"total": 1000,
"currency": "usd",
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_123/test_456"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.useautumn.com/llms.txt
Use this file to discover all available pages before exploring further.
Show properties
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The webhook event type.
"billing.auto_topup_succeeded"Show child attributes
{
"customer_id": "cus_123",
"feature_id": "messages",
"quantity_granted": 100,
"threshold": 20,
"balance_after": 115,
"invoice_mode": false,
"invoice": {
"stripe_id": "in_1A2B3C4D5E6F7G8H",
"status": "paid",
"total": 1000,
"currency": "usd",
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_123/test_456"
}
}
Webhook received successfully.