Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Hotel search response contains fractions in the base-fare and or tax elements. How do we round up?

0
Posted

Hotel search response contains fractions in the base-fare and or tax elements. How do we round up?

0

We recommend that you calculate the total cost of the stay based on the exact amounts returned in the search response and round up/down the final amount. Note that the Cleartrip API system will reject all bookings where the API input booking amount is less the Cleartrip calculated booking amount by more than 1 rupee. The Cleartrip API system will accept bookings where the API input booking amount is greater than the Cleartrip calculated booking amount.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123