Bookings
Cancel a booking or request
Cancel for the guest after they agreed to the refund from previewCancellation. Pass that refund as expected_refund; if it has changed, you get 409 refund_changed and nothing is cancelled. Not possible once the stay has started.
post/v1/bookings/{booking_id}/cancel
Request
- Base URL: https://threshold.rentals/api
- URL: https://threshold.rentals/api/v1/bookings/{booking_id}/cancel
- Auth: HTTP bearer
Path parameters
booking_idstring required
Headers
Idempotency-Keystring required
Unique per attempt (e.g. a UUID). Retrying with the same key returns the original response instead of acting twice.
Request body
Response
The cancelled booking
Example response
{
"check_in": "2026-11-13",
"check_out": "2026-11-13",
"total": {
"currency": "USD"
},
"amount_paid": {
"currency": "USD"
},
"amount_refunded": {
"currency": "USD"
},
"refund_schedule": [
{
"refund": {
"currency": "USD"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.