Skip to main content

RecheckResponse

Current availability and price of the offer.

availablebooleanrequired

true: the offer can be booked.

Example: true
price_changedboolean

true when the provider's price differs from the search price by more than 0.01.

Default value: false
Example: false
total_pricenumber | nullnullable

Current price, in the currency of the search.

Example: 2509.96
currencystring | nullnullable

Currency of total_price: the search's currency.

Example: INR
cancellation_policy object | null

Reserved; null today.

property name*anynullable

Reserved; null today.

Example: null
offer_tokenstring | nullnullable

Opaque, encrypted string. Store it and send it back unchanged; it cannot be read or edited (a modified token is rejected with 422). Send it as provider_context.offer_token to book. Same validity as the search's token (a recheck does not extend it). null when the recheck failed.

Example: ot1.gAAAAAB...fresh-offer-token-from-recheck...(trimmed in this example)
error object

Why available is false.

anyOf

Why a recheck, book, booking-details or cancel did not succeed.

codestringrequired

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.

Example: book_outcome_unknown
messagestringrequired

Explanation, often with the provider's reason. Do not parse.

Example: 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...
providerstring | nullnullable

Provider.

Example: provider_a
RecheckResponse
{
"available": true,
"price_changed": false,
"total_price": 2509.96,
"currency": "INR",
"cancellation_policy": null,
"offer_token": "ot1.gAAAAAB...fresh-offer-token-from-recheck...(trimmed in this example)",
"error": {
"code": "recheck_failed",
"message": "The offer can no longer be booked",
"provider": "provider_a"
}
}