API Price Check
Endpoint: price-check
Chốt giá một offerId, nhận bookingToken.
Request
Field
Kiểu
Bắt buộc
offerId
string
✔
{ "offerId": "of_8Jk2..." }Response (00)
Field
Kiểu
Mô tả
bookingToken
string
Chuỗi mờ, hết hạn sau 15 phút
price
Money
Giá đã chốt
cancelPolicies[]
array
Bản chốt cuối cho booking
expiresAt
date-time
{
"bookingToken": "bt_Qw9x...",
"price": { "total": 2400000, "perNight": 1200000, "currency": "VND", "taxIncluded": true },
"cancelPolicies": [{ "from": "2026-11-18T12:00:00+07:00", "penaltyAmount": 1200000 }],
"expiresAt": "2026-11-15T15:15:00+07:00"
}Cập nhật lần cuối