Guides · Business · SaaS
How to take an advance token payment for bookings, and keep the rest of the money safe.
Design a token or advance payment for tours, rentals and appointments: how much to take, server-side amounts, balance reminders, refunds.
Key takeaways
- A token (advance) payment secures a booking while the balance is paid later.
- Compute the token on the server from the trip price. Never accept the amount from the browser.
- Store the total, the paid amount and the balance as separate fields, with a payment history.
- State the cancellation and refund rules before payment, and follow them.
Why take a token
Full payment up front can put customers off, especially for expensive trips. No payment at all invites no-shows. A token is a middle path: the customer pays a part to hold the booking and the rest later.
Choosing the token
Common approaches:
- A fixed percentage of the total, such as one fifth.
- A fixed amount per person.
- A larger share for peak dates or high-cost items.
The right figure depends on your costs and cancellation risk. What matters is that it is predictable and shown clearly. The tourism platform I built for a licensed operator takes a 20% token online, with the balance handled afterwards.
Compute on the server
The customer chooses a trip, a date, a stay option and a number of people. The server looks up prices, adds them up, applies any rules, and calculates the token. The browser only displays it. This prevents tampering and keeps pricing in one place.
Data to store
total_amounttoken_amountamount_paidbalance_duebalance_due_date- Each payment: provider order id, payment id, amount, status, time
Do not store only a "paid" flag. Partial payments need a history.
The payment steps
- Create the booking with status
pending. - Create a payment order for the token amount.
- Verify the payment signature and webhook, as covered in integrating Razorpay in Laravel.
- Mark the booking
confirmedand the balancedue. - Email or message a confirmation with the amount paid and the balance.
Collecting the balance
- Send reminders before the due date.
- Offer a payment link for the balance. See payment links vs Checkout.
- Mark overdue bookings in your admin so staff can follow up.
- Decide what happens if the balance is never paid.
Cancellations and refunds
Write the rules in plain language: how much is refundable and until when. Show them on the booking page and in the confirmation. Record who cancelled, when, and the refund amount. Keep the refund process in your system and in the payment provider's dashboard in step.
Common mistakes
- Token calculated in JavaScript only.
- No record of partial payments.
- Booking confirmed before payment is verified.
- Hidden or unclear cancellation rules.
- Not releasing held dates when payment never arrives.
Frequently asked questions
Is a token the same as a deposit?
In practice the words overlap. What matters is the written policy about what is refundable.
Can I take the token by UPI directly?
You can, but an integrated gateway gives automatic confirmation and records. Manual transfers need manual reconciliation.
What about taxes?
Tax treatment depends on your business and location. Ask an accountant how to show it on receipts.
Wander Yak takes a 20% token payment through Razorpay.
See the tourism platform