...
Code Block | ||
---|---|---|
| ||
{ "paymentMethods": [ { "paymentMethod": "MASTER_CARD", "untilDaysBeforeArrival": 0, "paymentFee": { "feeType": "PERCENTAGE", "amount": 0.990, "currency": "EUR", "maxAmount": 100, "minAmount": 10 }, "description": "This is the first rate of the payment" } ], "paymentRates": { "ratePaidOnBooking": { "feeType": "PERCENTAGE", "amount": 0.990, "currency": "EUR", "maxAmount": 100, "minAmount": 10 }, "ratesPerDate": [ { "daysBeforeArrival": 10, "rateAmount": { "feeType": "PERCENTAGE", "amount": 0.990, "currency": "EUR", "maxAmount": 100, "minAmount": 10 } } ] } } |
...
Code Block | ||
---|---|---|
| ||
{ "isServiceFeeRefunded": true, "cancellationPoliciesPerDate": [ { "daysBeforeArrival": 20, "cancellationFee": { "feeType": "PERCENTAGE", "amount": 0.990, "currency": "USD", "maxAmount": null, "minAmount": 100 } }, { "daysBeforeArrival": 0, //daysBeforeArrival must be 0 for the cancellation policy line which is closest to the check-in date. In this example, it means this condition applies to days 0 to 19 before check-in. "cancellationFee": { "feeType": "PERCENTAGE", "amount": 0.110, "currency": "USD", "maxAmount": null, "minAmount": 100 } } ] } |
...