Skip to main content
All Out Partner Docs API Reference

Cancel after a failed capture

POST 

/bookings/:bookingId/cancel

If the provider approved and you cannot capture the hold, report capture_failed, then cancel the booking so the provider does not expect a guest who has not paid. The answer is the booking, now bookingStatus: cancelled with nextAction: release_hold. Release the hold, then report hold_released. Never capture a booking you have cancelled.

Allowed only when all three are true: the booking is approved, its paymentStatus is capture_failed, and the activity has not started. Anything else is 409 CANCELLATION_NOT_ALLOWED. Repeating the call returns the cancelled booking and changes nothing.

This is the only cancellation you make through the API. For every other cancellation or change of time, contact All Out.

Request​

Responses​

The cancelled booking.