Skip to main content
POST
Preview Checkout Session

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json
qrToken
string | null

Raw QR token returned only on creation

Example:

"nL7m2oM5zMwdON44BpQ_WteULcSGMjQm53WJb5xVZC8"

Response

OK

checkoutSessionId
string<uuid>
required

Checkout session identifier

Example:

"01981255-3c7a-7bd4-bb5f-8b47bc4dce91"

status
enum<string>
required

Computed checkout session status

Available options:
CREATED,
LINKED,
PREPARED,
CONFIRMED,
EXPIRED,
CANCELED
Example:

"CREATED"

paymentMethod
enum<string>
required

Checkout payment method

Available options:
CASH,
CREDIT_GRANT
Example:

"CASH"

expiresAt
string<date-time>
required

Expiration date

Example:

"2026-07-08T12:15:00.000Z"

trip
object
required

Session trip