Home / Insights / Business Operations and Integration

Business Operations and Integration

Building a Booking and Scheduling System: Availability Rules, Payments and Reminders

Most booking products fail in the same three places: availability logic that cannot express how the business really works, payments that do not match the cancellation policy, and reminders that arrive at the wrong time. This guide covers how to design all three.

TopicsBusiness Operations and IntegrationWeb and SaaS Development

Key takeaways

  • Model availability as resources, recurring rules and dated exceptions, stored in local time with an IANA time zone name, and compute free slots on demand rather than pre-generating them.
  • Prevent double bookings in the database, not only in the user interface: use short-lived holds plus a uniqueness or exclusion constraint on the resource and time range.
  • Pick the payment pattern (pay in full, deposit, card on file or authorise-then-capture) from your cancellation policy, and check card authorisation windows before promising a hold.
  • Treat reminders as a scheduled job with its own data: send time in the customer’s time zone, channel consent, quiet hours and a one-tap reschedule or cancel link.
  • Buy a scheduling product when your rules are standard; build or extend when availability, pricing or resources are the core of how you compete.

A booking flow looks simple from the outside: a customer picks a service, sees open times, pays and gets a confirmation. Underneath, it is one of the more unforgiving pieces of business software. A wrong slot means a staff member double-booked or an empty room. A wrong time zone means a customer who turns up an hour late. A payment that does not match the cancellation policy means a dispute you cannot win.

This article is for operations leads, founders and CTOs at service businesses (clinics, studios, rental companies, field services, training providers) deciding whether to buy, extend or commission a booking system. The focus is on decisions that are expensive to change later. Where we build these systems for clients, it is usually as part of custom application development that also covers the customer portal, staff tools and integrations around the booking itself.

What a booking system actually has to get right

Before choosing tools, write down what “a bookable thing” means for your business. In almost every project we see the same four questions hiding behind the word “booking”:

  • What is being reserved? A person (practitioner, instructor, technician), a place (room, court, desk), an asset (vehicle, scooter, equipment) or a combination. A physiotherapy appointment may need a therapist and a treatment room at the same time.
  • How much of it? One-to-one appointments have a capacity of one. Classes, tours and workshops have a capacity of many, and sometimes a minimum before the session runs.
  • Under what rules? Opening hours, staff rosters, buffers for cleaning or travel, minimum notice, how far ahead people may book, and which customers can book which services.
  • With what commitment? Free booking, deposit, full prepayment or a card kept on file to charge a no-show fee.

The common failure modes follow from getting one of these wrong: double bookings from simultaneous checkouts or unsynchronised staff calendars; phantom availability because a holiday or repair was never entered; time zone errors around daylight saving changes; payment terms that contradict the cancellation policy; and no-shows that nobody measures.

Action: list every bookable resource type, its capacity and the rules that govern it before you look at any product. That list becomes the test for every option later in this article.

How should availability rules be modelled?

The most durable design I have found separates availability into three layers and computes open slots from them at request time.

Layer 1: resources and capacity

Each resource has a type, a capacity, a home location and a time zone. Services declare which resource types they need, how long they last and whether they need a buffer before or after. A service that requires “one therapist plus one treatment room for 45 minutes, plus a 15-minute clean-down” is then a query, not special-case code.

Layer 2: recurring rules

Working hours and rosters are recurring patterns: “Monday to Friday, 09:00 to 17:30, lunch 12:30 to 13:15”. The iCalendar standard, IETF RFC 5545, already defines a vocabulary for this through its recurrence rule (RRULE) and exception date (EXDATE) properties. You do not have to store data in iCalendar format, but borrowing its recurrence model saves inventing your own and makes import and export to staff calendars far easier.

Layer 3: dated exceptions

Holidays, leave, maintenance and one-off extra sessions override the recurring rules. Keep them as explicit records with a reason and an author.

Time zones: store local intent, not just UTC

Store each recurring rule in local wall-clock time together with an IANA zone name such as Australia/Sydney or Europe/London, not as a fixed UTC offset. RFC 5545 makes the same distinction: date-times that are neither UTC nor “floating” must carry a TZID that refers to a time zone definition. The IANA Time Zone Database records the history and rules of local time around the world and is updated periodically when governments change offsets or daylight saving rules, which is why your servers and libraries need to receive those updates. Store individual confirmed bookings as UTC instants plus the zone they were booked in, so the confirmation always shows the time the customer expects.

Configure booking-window rules from day one: minimum notice, maximum horizon, slot granularity, per-service buffers, per-customer limits and eligibility (for example, new clients only for an introductory session).

Avoid pre-generating future slot rows: every roster change becomes a data migration. Computing free slots for the requested range, with a short cache, is cheap at most businesses’ scale.

Action: ask your team to describe their three most awkward scheduling situations (a split shift, a shared room, a seasonal timetable). If a proposed model cannot express them without custom code, it is the wrong model.

How do you prevent double bookings and keep calendars in sync?

Double bookings are a concurrency problem first and a user-interface problem second.

Holds, then confirmation

When a customer selects a slot, create a short-lived hold (for example, ten minutes) against the resource and time range. The hold hides the slot from others while the customer pays; a background job releases it if payment fails or the timer expires.

Enforce uniqueness in the database

Application checks are not enough when two requests arrive at once. Use a database constraint that rejects overlapping ranges for the same resource (PostgreSQL exclusion constraints, for instance), or a row lock or atomic counter for capacity-many sessions.

Idempotent confirmation

Give each checkout an idempotency key so retried callbacks return the existing booking instead of creating a second one.

Synchronising with staff calendars

Practitioners often keep personal and professional commitments in Google or Microsoft calendars. Reading their busy times avoids offering slots they cannot attend. Google’s Calendar API, for example, offers a free/busy query that returns busy intervals for a time range without exposing event details, which is good for privacy. It has documented limits: up to 50 calendars per request and group expansion capped at 100 members, with specific error codes when you exceed them. Design the sync around those limits rather than discovering them in production.

Sync approachHow it worksWatch out for
Read busy times onlyQuery external calendars for busy intervals and subtract them from availabilityLatency at search time; cache briefly and re-check at confirmation
Write bookings outCreate an event in the staff calendar when a booking is confirmedUpdates and cancellations must propagate too
Full two-way syncBoth systems can create and change events, reconciled by IDsConflict rules and loops; highest build and test cost
Booking system as source of truthStaff manage availability only in the booking systemAdoption: staff must not keep a second calendar

Action: decide which system is the source of truth for each fact (rosters, leave, bookings) and write it down. Most sync bugs come from two systems both believing they own the same data.

Which payment pattern fits your cancellation policy?

Payment design should follow the cancellation and no-show policy. Write the policy in plain words first, then choose the mechanism that can enforce it.

PatternWhen it fitsCustomer experienceKey constraint
Pay in full at bookingClasses, events, low-cost fixed servicesSimple; refunds needed for cancellationsRefund handling and fees; clear policy at checkout
Deposit at booking, balance laterHigher-value services, variable final priceLower upfront costTwo payment events; collecting the balance on the day
Card on file, charge only on late cancel or no-showAppointments where most customers attendNothing charged up frontCustomer permission (mandate) and off-session authentication rules
Authorise now, capture laterBookings within a few days with uncertain final amountFunds held, not takenAuthorisations expire; not all payment methods support it

Authorisation windows are short

“Hold the card and capture after the appointment” only works if the appointment is soon. Stripe’s documentation on placing a hold on a payment method lists typical online card authorisation windows of around seven days for customer-initiated transactions, with shorter windows for some merchant-initiated and in-person cases, after which the funds are released and the payment is cancelled. It also notes that some payment methods do not support separate authorisation and capture at all. For bookings weeks ahead, a deposit or a saved card is usually the right pattern, not a hold.

Saved cards and Strong Customer Authentication

If you serve customers in the UK or EEA, Strong Customer Authentication applies to card payments. Stripe’s SCA guidance explains that a card should be authenticated when it is saved, and later off-session charges are treated as merchant-initiated transactions that need an agreement covering the customer’s permission, the expected frequency and how the amount is determined. Even then, banks can still ask for authentication, so the system needs a flow to bring the customer back to complete it. Build that “payment needs your attention” email and page as part of the first release, not as a fix after the first declined no-show fee.

Store the policy version that applied at booking time, calculate fees from it and the booking’s local start time, and reconcile payment-provider events against bookings daily.

Action: write your cancellation policy as a table of time-before-start versus amount charged, and have finance sign it off before any payment code is written.

How should reminders work to reduce no-shows?

Reminders are the cheapest no-show control you have, but only if they are designed as a system rather than a single confirmation email.

Schedule reminders as jobs with their own data

For each booking, create reminder jobs with a target send time calculated in the customer’s time zone, a channel, a template and a status. If the booking moves, the jobs are cancelled and recreated. This makes reminders auditable (“did the customer get one?”) and testable around daylight saving changes.

A sensible default sequence

  1. Immediately: confirmation with date, local time, location or joining link, policy summary and a calendar attachment. RFC 5545 defines the iCalendar format most calendar apps import.
  2. About 48 hours before: reminder with one-tap reschedule or cancel, sent before the free-cancellation cut-off so the slot can be rebooked.
  3. A few hours before: short message with directions, parking or the joining link.
  4. After the appointment: follow-up, receipt, or rebooking prompt for recurring services.

Treat these timings as starting assumptions and measure them; the right gaps depend on how far ahead your customers book.

Channels, consent and quiet hours

Use email for detail and SMS or messaging apps for short, time-sensitive reminders. Record consent and channel preference, keep service messages separate from marketing, respect quiet hours in the customer’s local time, and make reschedule links work without a password using a signed, expiring token.

Measure whether reminders work

Track no-show rate, late cancellations and rebooking of freed slots by service, channel and lead time. For example, a clinic might find (illustratively) that no-shows cluster in bookings made weeks ahead, which points to a mid-point reminder rather than a stricter fee.

Action: add “reminder sent”, “reminder delivered” and “booking outcome” as events from the first release, so you can judge changes with evidence.

Should you buy, extend or build a booking system?

Most businesses should not build a scheduling engine from scratch. Many should not force-fit a generic tool either. The decision turns on how standard your rules are and how central booking is to your product.

OptionChoose it whenTrade-offs
Buy a scheduling SaaSOne-to-one or simple class bookings, standard payments, small teamFast and cheap to start; limited control over rules, data model, branding and integrations
Extend a platform (booking engine plus your own app)Rules are mostly standard, but you need your own portal, CRM link or reportingGood balance; you depend on the vendor’s API limits and roadmap
Build as part of a custom platformMulti-resource bookings, dynamic pricing, field logistics, or booking is your productFull control and ownership; highest upfront cost and ongoing maintenance

The questions that usually settle it: can the tool book two resources in one transaction, express your buffers and seasonal timetables, support your payment pattern in your markets, export everything if you leave, and expose an API good enough for the staff and customer experience you want?

On the Care Management Platform we built for Australian disability and aged care providers, scheduling sits inside a larger workflow of clients, carers and compliance records, so a standalone tool would have been another silo. A single-location studio with a fixed timetable, by contrast, is usually better served off the shelf. If you are already replacing spreadsheets for rosters and bookings, our guide to replacing spreadsheets with a custom workflow application covers that transition, and the earlier piece on gym and studio management software looks at booking alongside memberships and access control.

Action: score each option against your resource list and policy table from the earlier sections. If more than two critical rules need workarounds, move one step towards building.

Implementation plan, risks and launch checklist

A booking system can be delivered in phases that each produce something usable. The following sequence keeps risk low.

  1. Discovery (two to four weeks, depending on scope): resource list, rule catalogue, cancellation policy table, integrations, and the awkward scenarios your staff described.
  2. Core engine: resources, rules, exceptions, slot calculation and the database constraint against overlaps. Test it with dates that cross daylight saving changes in every zone you serve.
  3. Booking flow and holds: customer search, hold timer, confirmation, calendar attachment and idempotent retries.
  4. Payments: the chosen pattern, saved-card agreement if needed, refund and fee calculation from the stored policy, and daily reconciliation.
  5. Reminders and notifications: job scheduling, channels, consent, quiet hours and reschedule links.
  6. Staff tools and reporting: roster editing, exceptions, manual bookings, no-show marking and dashboards.
  7. Calendar sync and integrations: added once the core is stable, because sync multiplies the number of states to test.

Risks and hidden costs

Budget for payment fees and dispute handling, messaging costs that scale with bookings, routine time zone data updates, staff training and a firm cut-over date (adoption fails if rosters live elsewhere), and accessibility testing of date pickers and slot grids.

Launch checklist

  • Two simultaneous checkouts for the same slot: exactly one succeeds.
  • Bookings across a daylight saving change show the correct local time in confirmations and reminders.
  • Expired holds release slots; payment retries never create duplicate bookings or charges.
  • Late cancellation fees match the policy version stored on the booking.
  • Reminders respect consent and quiet hours; reschedule links expire after use.
  • Staff leave and holidays disappear from customer search.

Action: turn this checklist into automated tests before launch.

Frequently asked questions

How long does it take to build a custom booking system?

It depends on resource complexity, payment patterns and integrations. A focused booking flow inside an existing platform can be a matter of weeks; a multi-resource engine with payments, reminders, staff tools and calendar sync is a multi-month project. A short discovery phase should produce a scoped estimate before you commit.

Can we keep using Google or Outlook calendars for staff?

Yes. The usual approach is to read staff busy times to block slots and, optionally, write confirmed bookings into their calendars. Decide which system owns which data, and design around the calendar API’s documented limits.

Should we take full payment, a deposit or just a card on file?

Start from your cancellation and no-show policy. Full payment suits fixed-price classes and events; deposits suit higher-value or variable services; a saved card suits appointments where most people attend. Card holds only work for bookings within the card network’s authorisation window, typically days rather than weeks.

How do we handle customers in different time zones?

Store rules in local time with an IANA time zone name, store confirmed bookings as UTC plus the booked zone, and always display times in the customer’s zone with the zone named. Test bookings that cross daylight saving changes.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. IETF: RFC 5545, Internet Calendaring and Scheduling Core Object Specification (iCalendar), September 2009 — accessed 9 November 2026. Recurrence rules, exception dates, TZID requirements and the iCalendar format for calendar attachments.
  2. IANA: Time Zone Database — accessed 9 November 2026. Purpose of the tz database and the fact that it is updated periodically as time zone and daylight saving rules change.
  3. Google for Developers: Calendar API Freebusy query reference — accessed 9 November 2026. Busy-interval queries for staff calendars and the documented limits of 50 calendars per request and group expansion of 100.
  4. Stripe Docs: Place a hold on a payment method — accessed 9 November 2026. Separate authorisation and capture, typical card authorisation validity windows and payment-method limitations.
  5. Stripe Docs: Strong Customer Authentication readiness — accessed 9 November 2026. SCA scope, authenticating cards when saved, merchant-initiated transactions and the agreement customers must give.

Is your booking logic outgrowing the tool you use today?

Share your resources, rules and cancellation policy, and we will tell you honestly whether to configure, extend or build.