Create experience prebook (validate + Stripe intent)

Overview

Create a temporary hold on the selected tour slot and a Stripe PaymentIntent for checkout.

When to Use

  • Checkout start — After the user picks option, slot, and participants from booking-options
  • Payment setup — Obtain transactionId and secretKey for Stripe SDK confirmation
  • Hold window — Reserve inventory for ~10 minutes before book

What You Get

  • Checkout contexttourId, optionId, dateTime, language, participants, and pricing echoed back
  • Provider refscartId, experienceBookingId, providerBookingId, status, reservationExpiresAt
  • Stripe fieldstransactionId, secretKey, paymentTypes: ["TRANSACTION_ID"]

Quick Start

POST the same selection used for display pricing from booking-options with usePaymentSdk: true. Confirm payment with Stripe, then call POST /experiences/bookings.

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

Tour identifier

Body Params
selection
object
required
string
required

ISO language code used for validate and downstream book cart.

string
required

ISO 4217 currency code used for validate and downstream book cart.

string

Partner reference echoed in prebook response and stored on the checkout session.

boolean
required

Phase 1 requires true to create a Stripe PaymentIntent.

payment
object

Optional Stripe metadata (e.g. statement descriptor suffix).

Responses

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