booking_deposit_session_not_cancellable
Partner API error
HTTP status: 409
Cause
The booking deposit session is not paid (status other than completed), is already cancelled, or one of its deposits is no longer active (captured, closed, cancelled or expired).
Partner action
Check the session with GET /booking-deposit-sessions/{id}. Only a paid session whose deposits are all active can be cancelled; a second cancellation of the same session is refused.
Gando action (internal)
Check booking_sessions.status and the deposits.status of its booking_session_deposits in cancelBookingDepositSessionUseCase.
Example response
{
"error": {
"code": "booking_deposit_session_not_cancellable",
"message": "Only a paid booking deposit session whose deposits are all active can be cancelled",
"requestId": "3f2b8c1e-5d4a-4e7b-9c1a-2b6d8e0f4a71"
}
}