service
Payment API

Payment API

Receives payment authorization requests from the Ordering domain and records the payment intent, kicking off the charge against the payment processor.

Service

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.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 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.

Receives 1 message

The authorize-payment command from Ordering

Responsibilities

AreaDescription
AuthorizationReceives and validates Authorize PaymentAuthorize PaymentCommandv1.0.0Command to authorize payment for the total of a checked-out cart. Ownerordering-platformSchemaMapView docs.
PersistenceRecords payment intent in the Payment DatabasePayment DatabaseContainerv1.0.0PostgreSQL database that is the system of record for payments and refunds.MapView docs.

Architecture diagram

Messages for this service

Sends messages (0)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummary
No messages found

Receives messages (1)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummary
Authorize Payment
v1.0.0commandCommand to authorize payment for the total of a checked-out cart.
Event-driven architecture documentation: Acme Inc