The request
“Create a flight ticket booking sequence: a user searches and selects a flight in a web app; a booking service checks and holds seats in a flight database; the user confirms and a payment gateway succeeds or fails; on success the booking is finalized and an email service sends an e-ticket, and on failure the seats are released.”
Then tryAdd a seat-selection request before payment.Add a payment-declined branch.
What is in this drawing
Read the decisions behind it.
01
Synchronous reservation with seat hold
02
Payment handling with alternative flow
03
Confirmation email on success
Use for designing booking systems, understanding payment flow, or documenting service interactions in a travel domain.
More like this