event

Stripe Charge Failed

Stripe webhook event delivered when a charge attempt fails

EventWebhook

Overview

StripeChargeFailed is the catalog representation of Stripe’s charge.failed webhook. It is delivered to the Payment Gateway Service Payment Gateway Service Service v0.0.1 Manages integration with external payment processors (Stripe, PayPal, etc.) Publishes PaymentFailed , ChargeCard Subscribes ProcessPayment , FraudCheckCompleted +2 Owner dboyne Map Repo View docs webhook endpoint when a card charge cannot be completed.

Example Payload

{
"id": "evt_1NXyZ2eZvKYlo2C0def456",
"type": "charge.failed",
"data": {
"object": {
"id": "ch_3NXyZ2eZvKYlo2C00abc",
"amount": 4999,
"currency": "usd",
"status": "failed",
"failure_code": "card_declined",
"failure_message": "Your card was declined.",
"metadata": {
"paymentId": "pay_123456"
}
}
}
}
Event-driven architecture documentation: Acme Inc