Get Booking Bootstrap
Everything a public booking page needs to render: its title, its services and a freshly minted anti-bot token. Public, and it carries no account data beyond what the page itself shows.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
cancel_calendar_bookinguserCancel a booking and give the time back. Safe to call twice, and the slot returns to the public grid.
confirm_calendar_bookinguserTurn a held slot into a real booking. A hold token that is no longer present has lost the slot and is refused rather than re-added, because re-adding it is how one time gets sold twice.
confirm_paid_bookingpublicConfirms an appointment once its payment has cleared. Everything is checked against Stripe on the server: the visitor arrives from a redirect and controls every value in it, so three things must agree before a slot is given away. Stripe says the payment completed; the payment names THIS appointment and THIS hold, which is what stops a receipt for a cheap slot being presented against an expensive one; and the amount collected still matches what the service costs. If the payment cleared but the slot could not be booked, that is reported rather than swallowed, because the money is real and the appointment is not.
create_booking_roomuserMake the Xuda Meet room of a video booking that was confirmed without one, and send each guest of that appointment the link. The room belongs to the appointment, so every confirmed booking of it holds the same room. Safe to call twice: a second press answers the room that exists and sends nothing again. Refused for a booking that is cancelled, already over, not a video appointment, or not the caller's.
get_public_bookingpublicWhat a visitor's private link opens: one booking and what they may do with it. No account and no address: the signature in the link is the whole of the check. Reading it never changes anything, because mail scanners open every link in a message.
get_public_booking_slotspublicThe bookable times a visitor may choose from. Returns a start, an end and a seat count, and never says who holds the other seats.
7 of 24 in Calendar