Get booking details by cart
Returns a cart’s purchaser and booking context, typically read after payment confirmation.
Keyed by the cartId in the path rather than by brand, so an organization key needs no Way-Brand-Id header.
Authorizations
Your brand's secret API key, e.g. Bearer way_sk_live_bhEqcn0i1fRoUEHBPjJkQA. The key names the brand, so a brandId in the path must be your own brand. Older Way-Brand-Id + Way-Secret-Key credentials still work: see Legacy authentication.
Path Parameters
The cart's ID, the client-generated UUID used at checkout.
Response
Booking details.
The unique identifier of the cart.
"cart-123"
Purchaser details.
Payment provider used for the transaction.
kicc, stripe_destination_charge, stripe_separate_charge_transfer, self "stripe_destination_charge"
Payment method used.
credit-card, room-charge, member-number, loyalty, kicc, cash, pay-later, pay-upon-arrival "credit-card"
Cart items included in the booking.
Current status of the booking.
confirmed, refunded, processing, failed, cancelled "confirmed"
Payment reference code.
"PAY-789"
Additional metadata about the payment.
Applied coupon code.
"DISCOUNT10"