This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Use confirmOrDeclineBooking()
to determine if the booking is valid, payment is received, and the booking can be processed.
Call confirmOrDeclineBooking()
after checkout or after calling createBooking()
to verify the booking.
confirmOrDeclineBooking()
can catch this and decline the duplicate booking, the booking is not visible on the calendar.This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the booking to confirm or decline.