CancelResponse
Result of the cancellation.
cancelled (final), cancellation_pending (accepted, not final yet: poll booking-details), failed or unknown (no answer in time: check booking-details).
cancelledtrue only when the cancellation is final.
falsetrueRefund, when known. Informational: the API does not move money.
2509.96Currency of refund_amount: the booking's currency.
INRsupplier (reported by the provider) or policy_estimate (computed from the free-cancellation deadline).
suppliertrue when refund_source is policy_estimate.
falsefalseCancellation time, ISO 8601 UTC. Final cancellations only.
2026-10-23T06:33:47+00:00supplier (provider's time) or tp_cancel (when TransferPlatform received the provider's acceptance).
tp_cancelerror object
Set when status is failed or unknown.
- UnifiedError
- null
Why a recheck, book, booking-details or cancel did not succeed.
recheck_failed, recheck_error, unavailable, currency_unavailable, book_failed, book_error, book_outcome_unknown, booking_details_failed, booking_details_error, cancel_failed, cancel_error or cancel_outcome_unknown. New codes may be added.
book_outcome_unknownExplanation, often with the provider's reason. Do not parse.
The booking outcome could not be confirmed with the provider. Do not book again: retry the same request (same internal_reference) later, or contact support w...Provider.
provider_a{
"status": "cancelled",
"cancelled": true,
"refund_amount": 2509.96,
"currency": "INR",
"refund_source": "supplier",
"refund_estimated": false,
"cancelled_at": "2026-10-23T06:33:47+00:00",
"cancelled_at_source": "tp_cancel",
"error": {
"code": "cancel_failed",
"message": "Cancel failed: the pickup time has passed",
"provider": "provider_a"
}
}