This method is deprecated.
Deprecated. Set Booking As Paid will be removed on June 30, 2026. When using an eCommerce Checkout, Bookings V2 automatically updates the booking status and paymentStatus from the eCommerce Order. When using a custom checkout, call Confirm Or Decline Booking to update the payment status. Learn more from the Bookings V2 end-to-end flows.
The setBookingAsPaid() function returns a Promise that resolves when the booking is set as fully paid.
When the business has received full payment from the customer, the booking can be marked as fully paid.
When a booking is set as paid, the following events occur:
paymentDetails.state status changes to "COMPLETE".amountReceived value is updated to the finalPrice.amount value.You cannot mark a booking as paid if the booking status is "PENDING_APPROVAL".
Note: Only users with Bookings Admin permissions can mark a booking as paid. You can override the permissions by setting the suppressAuth options to true.
Booking ID to update as paid.
An object representing the available options for setting a booking as paid.