Cancellation and Deposit
1 min
Cancellation and Deposit
Returns the cancellation and deposit policy for a specific hotel / room / rate plan and date range.
This action is used by the partner to retrieve:
Cancellation rules (deadlines, penalty type & amount, level 1 / level 2, etc.)
Deposit rules (if a deposit is required, how much, when it’s charged)
POST
https://aggregate.bakuun.com/api/updateRates/MPBXX/invupdate
{
"password": "string",
"username": "string",
"hotelId": "string",
"roomId": "string",
"ratePlanId": "string",
"startDate": "YYYY-MM-DD",
"endDate": "YYYY-MM-DD",
"refundable": "true",
"action": "getCancellation",
"policyDetails": {
"cancellation": [
{
"policyId": XX,
"daysPriorCheckin": XX,
"penaltyType": XX,
"penaltyAmount": XX,
"penaltyApplied": XX,
"level": 1
},
{
"policyId": XX,
"daysPriorCheckin": XX,
"penaltyType": XX,
"penaltyAmount": XX,
"penaltyApplied": XX,
"level": 2
}
],
"deposit": {
"depositPolicy": "string",
"depositType": 3,
"depositAmount": 10,
"depositApplied": 3,
"depositIntervalUnits": X,
"depositTimeInterval": X
}
}
}1