Calculate Booking Amount API
Description: Calculate booking amount
Path: /api/v2/reservation/calculateBookingAmount
Method: POST
Content Type/Accept Type: application/json
Request
Attributes
* = required
mode*
integer
Based on your select room. We use this type to calculate the price by normal room or flash sale room
Possible enum values:
1 = Normal
2 = Flash Sale
bookingType*
integer
Type of booking
Possible enum values:
1 = Hourly Booking
2 = Overnight Booking
3 = Daily Booking
Example
Response
Attributes
totalAmount
integer
The total booking amount needs to be paid at once for this booking, including extra fee if you’re booking at high demand time. This does not include promotion such as flash sale, direct discount