Subscription payment attempt failure
This event is emitted when an autopay subscription payment fails. This can be due to an insufficient balance or an insufficient allowance.
Payload schema
Webhook payload
Use this schema when validating, storing, or transforming the incoming subscriptionPaymentAttemptFailure webhook payload.
idstring<uuid>requiredUnique identifier for this webhook delivery.
webhookIdstring<uuid>requiredIdentifier of the webhook configuration that produced this delivery.
eventTypestringrequiredDiscriminator for the event. Always the value shown here for this event.
Allowed
subscriptionPaymentAttemptFailureeventDataobjectrequired
Event-specific payload. The key matches eventType.
subscriptionPaymentAttemptFailureSubscriptionPaymentAttemptFailureDatarequired
subscriptionIdstring<uuid>requiredfailureReasonSubscriptionPaymentAttemptFailureReasonrequiredAllowed
insufficientAllowanceinsufficientBalancegasCostGreaterThanSubscriptionCostradomDataRadomEventData
Context for the Radom object that triggered the event.
paymentLinkPaymentLinkDatarequired
paymentLinkIdstring<uuid>requiredpaymentLinkOrderIdstring<uuid>nullableinputDataInputData[]nullable
labelstringrequiredvaluestringnullablecheckoutSessionCheckoutSessionDatarequired
checkoutSessionIdstring<uuid>requiredmetadataMetadata[]nullable
keystringrequiredvaluestringrequiredinvoiceInvoiceDatarequired
invoiceIdstring<uuid>requiredinvoicePaymentIdstring<uuid>nullablepaymentSessionPaymentSessionDatarequired
paymentSessionIdstring<uuid>requiredmetadataMetadata[]nullable
keystringrequiredvaluestringrequiredsubscriptionSubscriptionIdDatarequired
subscriptionIdstring<uuid>requireddonationLinkDonationLinkDatarequired
donationLinkIdstring<uuid>requireddonationLinkOrderIdstring<uuid>required{
"id": "8299f078-e7da-42a8-9519-5f1e575d6f08",
"webhookId": "3b59ac1c-2283-431a-ad78-285d6d1481cd",
"eventType": "subscriptionPaymentAttemptFailure",
"eventData": {
"subscriptionPaymentAttemptFailure": {
"failureReason": "insufficientBalance",
"subscriptionId": "60522974-030c-4db3-a8b0-6f54a0440e60"
}
},
"radomData": null
}