{
"id": "<string>",
"type": "subscription.payment_failed",
"created": 123,
"data": {
"subscription_id": "<string>",
"invoice_id": "<string>",
"amount_cents": 123,
"currency": "<string>",
"attempt_count": 123,
"next_payment_attempt": "2023-11-07T05:31:56Z",
"reason": "<string>",
"livemode": true,
"payment_link_id": "<string>"
}
}API Reference
Subscriptionpayment failed
Sent to your endpoint when it is subscribed to subscription.payment_failed. See Webhook events for the payload.
WEBHOOK
subscription.payment_failed
{
"id": "<string>",
"type": "subscription.payment_failed",
"created": 123,
"data": {
"subscription_id": "<string>",
"invoice_id": "<string>",
"amount_cents": 123,
"currency": "<string>",
"attempt_count": 123,
"next_payment_attempt": "2023-11-07T05:31:56Z",
"reason": "<string>",
"livemode": true,
"payment_link_id": "<string>"
}
}Authorizations
Body
application/json
Response
200
Return a 2xx status to acknowledge the event.
