Create Payment Intent
POST/api/public/book/:tenant_slug/payment-intent
Create a booking with AWAITING_PAYMENT status and a Stripe PaymentIntent.
Used for paid bookings. The client submits the form, we create the booking and return a Stripe client_secret for the frontend to collect payment. Once Stripe confirms payment, a webhook updates the booking to CONFIRMED.
For free bookings (price=0 or null), use the regular create_booking endpoint instead.
Request
Responses
- 201
- 422
Successful Response
Validation Error