How it works: booking and payment process
To ensure a smooth transition, we’ve outlined two different booking flows to help you integrate credit card payments effectively.
Flow 1: SERP — Prebook by SERP — Booking form
- Invoke the “SERP” method: Choose a rate with the “now” payment type. If a “deposit” payment type is available, all rates will default to “deposit,” while the “now” option will only appear during the “Order Booking Form” step.
- Invoke the “Prebook by SERP” method: Generate a booking hash and update availability and pricing.
- Invoke the “Order Booking Form” method: Use the booking hash from the previous step to proceed with booking.
- Invoke the “Credit Card Data Tokenization” method: The user enters their bank card details on your website, which are then securely forwarded to us for payment processing.
- Invoke the “Order Booking Finish” method: The user enters guest details, and the system deducts the specified amount from the provided card upon clicking “PAY.”
- Invoke the “Order Booking Finish Status” method: If required, pass the 3-D Secure authentication. Continue invoking this method until the final status is confirmed.
Flow 2: SERP — Hotel page — Prebook — Booking form
- Invoke the “Hotel page” method: Search for a rate with the “now” payment type. If a “deposit” payment type is available, all rates default to “deposit,” while “now” will appear at the “Order Booking Form” step.
- Invoke the “Prebook” method: Update availability and pricing.
- Invoke the “Order Booking Form” method: Use the generated booking hash to proceed with the booking.
- Invoke the “Credit Card Data Tokenization” method: The user enters their card details on your website, which are securely forwarded to us.
- Invoke the “Order Booking Finish” method: Upon clicking “PAY,” the system deducts the amount from the provided card.
- Invoke the “Order Booking Finish Status” method: Pass 3-D Secure authentication if required and continue until the final status is confirmed.
Start using card payments today!
Card payments on API RateHawk provide a seamless and secure way to manage bookings while enhancing client convenience. Contact your RateHawk account manager to enable this feature and start integrating it into your workflow today.