Post-booking
Check how a hotel cancellation ended
Report where one cancellation has got to, named by the operation handle a commit (or POST /v1/hotel_cancel) returned. Read-only. state is the platform view — keep polling while it is in_progress or attention_required, both of which mean the operation is still alive. provider is what the supplier says about the booking and money is where the refund itself has got to; the two move independently, so a booking can read cancelled while the money is still in flight. Do not tell a customer they have been refunded until money.vehicle_state says paid. Same auth modes as hotel_cancel_preview.
post/v1/hotel_cancel_status
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/hotel_cancel_status
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"booking_ref": "JNK-H1ZK90",
"last_name": "Doe",
"operation": "svc_01J7ZR5Q2KME8V4T"
}Response
Where the cancellation has got to
Example response
{
"operation": "svc_01J7ZR5Q2KME8V4T",
"reason": "settlement_review",
"message": "the fare rules do not allow a refund of this ticket",
"park_deadline": "2026-09-10T12:15:00Z",
"next_run_at": "2026-09-03T12:20:00Z",
"provider": {
"state": "cancelled",
"references": {
"cancellation_reference": "cxl_2f90a1c3"
}
},
"money": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50",
"amount_money": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
},
"direction": "refund",
"vehicle_state": "paid",
"stripe_reference": "re_3UBIxK2eZvKYlo2C"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.