Skip to main content

createPaymentIntentForBooking

Creates a Stripe PaymentIntent for an existing booking so the partner can confirm payment in the browser. The booking must belong to the authenticated practice, require payment, and have a payable price on its booking type.

createPaymentIntentForBooking(
bookingId: ID!
): CreatePaymentIntentForBookingPayload

Arguments

createPaymentIntentForBooking.bookingId ● ID! non-null scalar

Type

CreatePaymentIntentForBookingPayload object

Stripe PaymentIntent details for confirming a booking payment on the client.