- Subscription events
Sent for a subscription created from an order through this API, when it is created, each time it renews, and each time its status changes.
subscription.created: the first payment succeeded and the subscription was set up. This is the event for that first payment;payload.transactionis the payment.subscription.renewed: a renewal charge succeeded.payload.transactionis the payment,payload.invoiceis the invoice it paid, andpayload.subscription.next_billing_dateis the next charge. A renewal that fails sendssubscription.past_dueinstead.subscription.paused: billing was paused. Also sent byPUT /subscriptions/pause, which skips the next charge.subscription.resumed: billing was resumed.subscription.cancelled: the subscription was cancelled.subscription.past_due: a charge failed and the subscription is past due.
Every subscription event carries the subscription's current state in payload.subscription and a payload.message: SUBSCRIPTION_CREATED, SUBSCRIPTION_RENEWED or SUBSCRIPTION_STATUS_CHANGED, and a payment on the subscription in payload.transaction. subscription.renewed also carries payload.invoice, since a renewal is billed as an invoice.
Skipping a charge with PUT /subscriptions/pause sends subscription.paused but does not change the subscription's status; payload.subscription.pause_next_period is true instead.
Unique per event, and the same on every redelivery and replay of it. Use it to discard duplicates.
What happened. Branch on this, and ignore values you do not recognise: new events may be added.
When Dime sent the event. Events can arrive out of order; use this to order them.
The token of the record the event is about: a transaction's for payment and refund, otherwise the token of the kind named by resource_type.
{ "event_id": "evt_Lm4pQ8rT2vX6zB1nC9kW", "event_type": "subscription.paused", "occurred_at": "2026-10-27T18:12:40.330Z", "owner_type": "merchant", "owner_id": "m82yalYupLIdpAz", "addon_subscription_id": null, "resource_type": "subscription", "resource_id": "sub_pESz9qv3_M4rhjWUy_KMaAVBqb_XyCKvmZ", "payload": { "message": "SUBSCRIPTION_STATUS_CHANGED", "subscription": { … }, "transaction": { … } }, "signature_version": "v1" }