Submit, confirm or renew a checkout
The pay page's checkout actions on one order. The caller is whoever holds the order's payment link (its token as Authorization: PaymentLink <token> or X-Payment-Link-Token), a checkout session made from that link, or a signed-in person with access to the order; a link that expired without being revoked may still renew, within 24 hours of its end. SUBMIT_CHECKOUT commits the travelers and the accepted terms, and starts a flight's hold or a booking that needs no payment. CONFIRM_NICER_PAYMENT reports that a payment attempt of the order finished: an authorized or succeeded one sends the order on to be booked. Neither charges a card: POST /commerce/orders/{orderId}/payments does. RENEW_CHECKOUT renews expired payment access: an unpaid checkout is priced again into a successor order, and a held flight is verified with the provider and keeps the same order, reservation and payment deadline. EXCHANGE_CHECKOUT_SESSION trades the one-time code of a link its creator made for themselves for a checkout session in that person's name. Order management (payment links, cancellation) is not accepted here: it is POST /commerce/orders/{orderId}/actions. Requires an Idempotency-Key; at most 30 calls a minute from one address.
Authorization
Path parameters
Header parameters
Request body JSON required
One of the following:
- object
- object
- object
- object
Returns
200
OK