Skip to main content
All Out Partner Docs API Reference

Get a booking

GET 

/bookings/:bookingId

The booking is the source of truth. nextAction tells you what to do with the hold. Another partner's booking, or one that does not exist, is 404 NOT_FOUND. A booking stays readable after an activity is withdrawn from you, and capture or release reports are still accepted for it.

bookingStatuspaymentStatusnextActionYou do
pendingauthorizednoneWait.
approvedauthorizedcapture_paymentCapture once, then report capture_succeeded or capture_failed.
approvedcapture_failedcapture_paymentTry again, or cancel the booking.
completedauthorized or capture_failedcapture_paymentThe activity took place before you captured. Capture now.
approved or completedcapturednoneNothing.
declined or cancelledauthorized or capture_failedrelease_holdRelease the hold, then report hold_released. For a decline, show declineReason.
declined or cancelledcapturednoneThe booking ended after you captured. Refund your customer; nothing is owed to All Out for it.
declined or cancelledreleasednoneNothing.

An approved booking can still be declined or cancelled later. Act on the latest state each time.

Request​

Responses​

The booking.