Check Rate
POST/v2/hotels/checkrate
Introduction
Re-confirms the current price and availability of specific room rates previously
returned by a v2/hotels/availability search, immediately before booking. Suppliers
are queried live (not from cache), so this call is slower than a plain search and is
meant to be used right before creating a reservation, not for browsing.
A rate that is no longer available comes back as a 404 — treat that as "this specific rate is gone," not as a generic search returning no results.
Request
- application/json
Body
Deliberately minimal: rateTokens alone identifies the hotel(s), room rates, dates
and occupancy.
Room rates from different hotels can be mixed in the same call, but they must all share the same checkin/checkout/occupancy.
Tokens of the room rates to re-confirm, as returned by a prior availability search (roomRates[].rateToken). Can span multiple hotels, but must all share the same checkin/checkout/occupancy.
Desired language/locale for the response's text.
The searchId returned by the availability search these room rates came from. Passing it back links this check into that search for correlation purposes. If omitted, the response comes back with a new, unrelated searchId.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- ]
hotels object[]
List of hotels with their re-confirmed rates.
hotel objectrequired
Internal Niara ID of the hotel.
Hotel name.
Name of the hotel's city.
Name of the hotel's country.
Hotel address.
position objectnullable
Geographic coordinates of the hotel.
Latitude of the hotel.
Longitude of the hotel.
roomRates object[]
Re-confirmed rates for the hotel.
Opaque token identifying this re-confirmed rate. Pass it to v2/booking to book it. Expires 15 minutes after being issued.
roomType objectrequired
Room type ID.
Room type name.
time objectrequired
Rate start date.
Rate end date.
priceComposition objectrequired
net objectnullable
Net value (before taxes), when available.
Monetary amount.
Currency code (ISO 4217).
taxes objectnullable
Tax amount, when available.
Monetary amount.
Currency code (ISO 4217).
total objectnullable
Total value (net + taxes), when available.
Monetary amount.
Currency code (ISO 4217).
cancelPolicy objectrequired
Indicates whether the rate is non-refundable, when known.
Indicates whether cancellation is currently within the penalty period.
Date from which cancellation starts incurring a penalty.
paymentOptions object[]nullable
Payment/guarantee options available for this rate.
Payment option type (e.g. credit card, PIX, pay-at-hotel).
Payment option ID.
Whether this payment option is currently usable for this rate, when known.
Internal payment-option classification.
Display name for the payment option.
Human-readable description.
Why this option is disabled, when enabled is false.
Supplier credential type behind this payment option, when relevant.
includeExtraOptions object[]nullable
Extras that can be bundled with this payment option.
Extra item ID.
Extra item label.
meal objectnullable
Whether breakfast is included.
Whether lunch is included.
Whether dinner is included.
Whether the rate is all-inclusive.
Meal plan name.
Meal plan description.
ratePlan objectnullable
Rate plan ID.
Rate plan name.
Rate plan type.
Whether the rate plan is publicly published.
Whether the rate plan is a package (bundled with extras).
inclusions object[]nullable
Items included in the rate plan.
Inclusion ID.
Inclusion name.
Inclusion description.
descriptions objectnullable
roomType object[]nullable
Room type descriptions.
Description name/title.
Description text.
meal object[]nullable
Meal plan descriptions.
Description name/title.
Description text.
ratePlan object[]nullable
Rate plan descriptions.
Description name/title.
Description text.
cancelPolicy object[]nullable
Cancellation policy descriptions.
Description name/title.
Description text.
generalPolicies object[]nullable
General policy descriptions.
Description name/title.
Description text.
payment object[]nullable
Payment-related descriptions.
Description name/title.
Description text.
offers object[]nullable
Promotional offers applied to the rate.
Offer name.
Discount value/percentage.
Number of free nights granted by the offer, when applicable.
Possible values: [STAY_DISCOUNT, DISCOUNT, FREE_NIGHT, LAST_MINUTE, null]
Discount type.
Nights required to qualify for the offer, when applicable.
Search identifier to be included in the payload of the subsequent calls of the booking flow, useful for correlating them.
{
"hotels": [
{
"hotel": {
"id": "string",
"name": "string",
"cityName": "string",
"countryName": "string",
"address": "string",
"position": {
"latitude": 0,
"longitude": 0
}
},
"roomRates": [
{
"bookingToken": "string",
"roomType": {
"id": "string",
"name": "string"
},
"time": {
"startDate": "string",
"endDate": "string"
},
"priceComposition": {
"net": {
"value": 0,
"currency": "string"
},
"taxes": {
"value": 0,
"currency": "string"
},
"total": {
"value": 0,
"currency": "string"
}
},
"cancelPolicy": {
"nonRefundable": true,
"inPenalty": true,
"penaltyDate": "string"
},
"paymentOptions": [
{
"type": "string",
"id": "string",
"enabled": true,
"internalType": "string",
"alias": "string",
"description": "string",
"disabledReason": "string",
"credentialType": "string",
"includeExtraOptions": [
{
"id": "string",
"label": "string"
}
]
}
],
"meal": {
"breakfast": true,
"lunch": true,
"dinner": true,
"allInclusive": true,
"name": "string",
"description": "string"
},
"ratePlan": {
"id": "string",
"name": "string",
"type": "string",
"public": true,
"package": true,
"inclusions": [
{
"id": "string",
"name": "string",
"description": "string"
}
]
},
"descriptions": {
"roomType": [
{
"name": "string",
"description": "string"
}
],
"meal": [
{
"name": "string",
"description": "string"
}
],
"ratePlan": [
{
"name": "string",
"description": "string"
}
],
"cancelPolicy": [
{
"name": "string",
"description": "string"
}
],
"generalPolicies": [
{
"name": "string",
"description": "string"
}
],
"payment": [
{
"name": "string",
"description": "string"
}
]
},
"offers": [
{
"name": "string",
"discount": 0,
"freeNights": 0,
"nightsRequired": 0
}
]
}
]
}
],
"searchId": "string"
}