Postman: UseCase/Create paid booking
Capabilities. Shop for flights, Price an offer, Create an order with payment
Sequence. AirShopping → OfferPrice → OrderCreate (with payment) → OrderRetrieve
Preconditions. API key issued; a payment method available.
| Step | Message | Send | Get back | Carry forward |
|---|---|---|---|---|
| 1 | AirShopping | Journey and passengers | Offer list | OfferID, OfferItemID |
| 2 | OfferPrice | Selected offer | Priced offer | Priced OfferID, amount, currency |
| 3 | OrderCreate | Priced OfferID, passenger list, PaymentFunctions |
Paid order with OrderID and booking reference |
OrderID |
| 4 | OrderRetrieve | OrderID |
Order with ticket numbers | — |
Outcome. A paid and ticketed order in one round trip.
Watch out for. The payment amount and currency must match the priced offer from step 2 exactly. To pay from an agency deposit on an AeroCRS airline, step 3 also needs SalesAgentID on your own DistributionChainLink (deposit payment).