subscription.created
Sent when a subscription is created and the customer has been asked to agree to it. Its status is incomplete. Needs mandates.read to appear in the events list. Answer with any 2xx within 10 seconds. Anything else, a timeout or a redirect is retried up to 6 times over about a day. Events can arrive out of order, so compare statuses and cycles rather than trusting arrival order.
subscription.createdWebhookWebhook-IdstringrequiredThe event id. The same event can arrive more than once; use this to ignore repeats.
Webhook-TimestampstringrequiredUnix seconds when this attempt was signed. Reject a delivery older than 5 minutes.
Webhook-Signaturestringrequiredv1, then a comma, then the base64 HMAC-SHA256 of "{Webhook-Id}.{Webhook-Timestamp}.{raw body}" keyed with your endpoint's signing secret. Compare in constant time.
application/jsonidstringrequiredThe event id, the same as the Webhook-Id header.
typestringrequiredcreatedAtstring<date-time>requiredWhen the change happened.
dataSubscriptionEventDatarequiredA subscription as it stood when the event happened. It carries the fields that changed with it; read the subscription for the rest, such as fee and totalAmount.
Show propertiesHide properties
idstringrequiredreferencestringrequiredstatusstringrequiredincompleteincomplete_expiredtrialingactivepast_duepausedcanceledcompletedpreviousStatusstringAbsent on subscription.created.
incompleteincomplete_expiredactivepast_duepausedcanceledcompletedpaymentMethodstringrequiredmobile_moneywalletcustomerobjectrequiredShow propertiesHide properties
networkstringmtntelecelamountstringrequiredA decimal string in major units, before the fee.
currencystringrequirednextChargeAtstring<date-time> | nullrequiredcyclesChargedintegerrequiredcancelAtPeriodEndbooleanrequiredcancelAtstring<date-time>cancelReasonstringbusinessnetworkplatformdeclineReasonstringdeclinedno_responsepausedBystringbusinessplatformReceived. Any 2xx stops retries.