service
Checkout API

Checkout API

The entry point to the Checkout System. Receives the checkout command from the Shopping domain and starts the checkout flow.

Service

Overview

The Checkout API is the front door to the Checkout System. When the ShoppingShoppingDomainv1.0.0The Shopping domain owns the customer's path to purchase — building a cart, applying promotions, and checking out. It co...Ownershopping-platformMapView docs domain checks out a cart, this service receives the Checkout CartCheckout CartCommandv1.0.0Command to check out a shopping cart. Ownershopping-platformSchemaMapView docs command, validates it, and hands the work to the Checkout OrchestratorCheckout OrchestratorServicev1.0.0Runs the checkout saga. Reserves inventory, authorizes payment and creates the order, coordinating the steps that turn a...Publishesreserve-inventory, authorize-payment +1Ownerordering-platformMapRepoView docs to run the checkout saga.

Receives 1 message

The checkout command from Shopping

Delegates to the Orchestrator

The saga that runs checkout

Responsibilities

AreaDescription
Checkout entryReceives and validates Checkout CartCheckout CartCommandv1.0.0Command to check out a shopping cart. Ownershopping-platformSchemaMapView docs from the Shopping domain.
Orchestration handoffStarts a checkout saga in the Checkout OrchestratorCheckout OrchestratorServicev1.0.0Runs the checkout saga. Reserves inventory, authorizes payment and creates the order, coordinating the steps that turn a...Publishesreserve-inventory, authorize-payment +1Ownerordering-platformMapRepoView 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
Checkout Cart
v1.0.0commandCommand to check out a shopping cart.
Event-driven architecture documentation: Acme Inc