Payment API
Receives payment authorization requests from the Ordering domain and records the payment intent, kicking off the charge against the payment processor.
Overview
The Payment API is the entry point to the Payment Processing System. It receives Authorize PaymentAuthorize PaymentCommandv1.0.0Command to authorize payment for the total of a checked-out cart.
Ownerordering-platformSchemaMapView docs from the Ordering domain, records the payment intent in the Payment DatabasePayment DatabaseContainerv1.0.0PostgreSQL database that is the system of record for payments and refunds.MapView docs, and leaves the Payment WorkerPayment WorkerServicev1.0.0
Drives 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 drive the charge against 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.
Responsibilities
| Area | Description |
|---|---|
| Authorization | Receives and validates Authorize PaymentAuthorize PaymentCommandv1.0.0Command to authorize payment for the total of a checked-out cart. Ownerordering-platformSchemaMapView docs. |
| Persistence | Records payment intent in the Payment DatabasePayment DatabaseContainerv1.0.0 |
Architecture diagram
Messages for this service
Sends messages (0)
Quickly find the message you need by searching for the name, type, or summary.| Name | Version | Type | Summary |
|---|---|---|---|
| No messages found | |||