Book

Completes a prebooked booking by paying with a Stripe PaymentMethod token. The amount is always the server-side prebooked total, amounts sent by the caller are ignored. When the card requires 3-D Secure, a 402 with a client_secret is returned; complete authentication with Stripe.js and call this endpoint again with the payment_intent_id.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
string | null

A Stripe PaymentMethod ID (pm_...) created with your Stripe publishable key. Raw card numbers are never accepted. Use Stripe test payment methods (e.g. pm_card_visa) with test keys. This field is required when payment_intent_id is not present.

string | null

A Stripe PaymentIntent ID (pi_...) returned by a previous 402 payment_requires_action response, after completing 3-D Secure authentication. Send instead of payment_method_id.

string | null

Your own booking reference, stored with the payment.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json