Payment failed event
Test payment or notification flows that react to failed events.
View payload and cURL
Headers
{
"X-Webhook-Source": "stubpoint"
}
Body
{
"id": "evt_payment_failed",
"type": "payment.failed",
"created_at": "2026-05-21T12:00:00Z",
"data": {
"invoice_id": "inv_123",
"customer_id": "cus_456",
"reason": "card_declined"
}
}
Create with cURL
curl -i 'https://stubpoint.dev/api/endpoints' -H 'Content-Type: application/json' -d '{
"body": "{\n \"id\": \"evt_payment_failed\",\n \"type\": \"payment.failed\",\n \"created_at\": \"2026-05-21T12:00:00Z\",\n \"data\": {\n \"invoice_id\": \"inv_123\",\n \"customer_id\": \"cus_456\",\n \"reason\": \"card_declined\"\n }\n}",
"content_type": "application/json",
"headers": {
"X-Webhook-Source": "stubpoint"
},
"methods": [
"POST"
],
"status": 200
}'