Smart Policies
Preview how a folio adjustment (tax/fee/rate/room-revenue) would affect Smart Policy scheduled payments.
post/smart-policies/v1/payments/preview-adjustment
Request
- Base URLhttps://api.cloudbeds.com
- URLhttps://api.cloudbeds.com/smart-policies/v1/payments/preview-adjustment
- AuthOAuth 2Authorization code: https://api.cloudbeds.com/auth/oauth/authorizeToken URL: https://api.cloudbeds.com/auth/oauth/token scopes: read:rate
Headers
x-property-idstring required
Example:1,2,3
A numeric, comma-separated string representing the property IDs, sent in the header.
Request body
Example request
{
"reservationId": "12345",
"adjustment": {
"token": "tax_42",
"amount": {
"amount": "500",
"currencyCode": "EUR"
},
"bookingRoomId": "555",
"rateSourceId": "777"
}
}Response
Adjustment preview result.
Example response
{
"resultType": "SCHEDULED_PAYMENT_REDUCED",
"newReservationTotal": {
"amount": "12439",
"currencyCode": "USD"
},
"alreadyPaid": {
"amount": "12439",
"currencyCode": "USD"
},
"refundRequired": {
"amount": "12439",
"currencyCode": "USD"
},
"scheduledPayments": [
{
"id": "1001",
"originalAmount": {
"amount": "12439",
"currencyCode": "USD"
},
"newAmount": {
"amount": "12439",
"currencyCode": "USD"
},
"status": "REDUCED"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.