event

Payment Failed

Published by Stripe when a charge fails.

EventBroker:Kafka

Overview

PaymentFailed is delivered by Stripe’s Webhook EndpointWebhook EndpointServicev1.0.0Stripe's webhook delivery for payment and refund outcomes. It notifies Acme Inc whether a charge succeeded or failed, an...Publishespayment-succeeded, payment-failed +1Ownerpayments-platformMapRepoView docs when a requested charge fails — for example a declined card. The Payment WorkerPayment WorkerServicev1.0.0Drives charges and refunds against the external payment processor and records the outcomes. It requests payments and ref...Publishespayment-requested, refund-requestedSubscribespayment-succeeded, payment-failedOwnerpayments-platformMapRepoView docs consumes it and records the payment as failed, which ultimately leads the order to be cancelled.

Architecture diagram

Event-driven architecture documentation: Acme Inc

JSON Schema

4 properties

Published when a charge fails

paymentIdstring<uuid>
required
orderIdstring<uuid>
required
reasonstring
required
Allowed values: CARD_DECLINED INSUFFICIENT_FUNDS EXPIRED_CARD PROCESSING_ERROR
failedAtstring<date-time>
required