event

Payment Requested

Published when the Payment Processing System requests a charge from the payment processor.

EventBroker:Kafka

Overview

PaymentRequested is published by 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 to ask the external StripeStripeSystemv1.0.0External payment processor used by Acme Inc to charge cards and issue refunds. It receives payment and refund requests a...Ownerpayments-platformMapView docs to charge a customer for an order. Stripe responds with Payment SucceededPayment SucceededEventv1.0.0Published by Stripe when a charge succeeds. Ownerpayments-platformSchemaMapView docs or Payment FailedPayment FailedEventv1.0.0Published by Stripe when a charge fails. Ownerpayments-platformSchemaMapView docs. The Fraud DetectionFraud DetectionSystemv1.0.0External provider that screens payments for fraud. It consumes payment requests and returns a pass or fail verdict. Ownerpayments-platformMapView docs system also consumes this event to screen the payment.

Architecture diagram

Event-driven architecture documentation: Acme Inc

JSON Schema

6 properties

Published when a charge is requested from the payment processor

paymentIdstring<uuid>
required
orderIdstring<uuid>
required
customerIdstring<uuid>
amountinteger
required

Amount to charge, in minor units (e.g. cents)

Minimum: 0
currencystring
required
Match pattern: ^[A-Z]{3}$
requestedAtstring<date-time>
required