Billing Webhooks

The webhooks Acquired Billing sends, and when each one is sent.

Acquired Billing sends webhooks so your system can react to subscription and payment events as they happen, without polling the API.

Webhookwebhook_typeSent when
Bill Payment Webhooksstatus_updateA payment is attempted against a bill. Carries subscription_id and bill_id.
Recovery Payment Webhooksstatus_updateThe Retry Engine attempts to recover a failed bill payment. Also carries recovery_id.
Subscription Status Webhooksbilling.subscription.status_changedA subscription moves from one status to another, for example from active to past_due.

All of them use the Webhook-Version 2 envelope (webhook_type, webhook_id, timestamp and webhook_body) and are signed the same way. See the Webhook Notifications guide for webhook headers and how to validate a webhook's hash.

📘

Payments and statuses are separate webhooks

A single event can send more than one webhook. For example, a declined bill payment sends a status_update for the payment and, if the subscription moves to past_due as a result, a billing.subscription.status_changed for the subscription. Handle each webhook independently rather than relying on the order in which they arrive.


Did this page help you?