Create Checkout Session
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Settings for card checkout behavior (parallel setup, 3DS mode). Defaults apply if not provided.
ID of a processor route to use for card checkout (overrides account default). A processor route contains an ordered list of processors tried sequentially as a fallback chain. Pass a single route ID — to use multiple processors, define them within the route itself.
Custom field values to set on this checkout session. Keys must match defined field keys for the checkout_session entity type. Set a key to null to delete that field’s value.
List of fallback tiers for cascade pricing (max 10 tiers). Each tier contains line items and optional processor route.
Preferences for payment method setup. Valid in both ‘payment’ and ‘setup’ modes. Contains per-processor setup configuration under ‘processors’ key.
Response
Card tokenization mode: ‘direct’ (KMS encryption) or ‘vgs’ (VGS Collect + proxy)
Settings for card checkout behavior (parallel setup, 3DS mode)
Cascade pricing status (None if no cascade configured)
Full cascade tier details including processor routes (None if no cascade configured)
ID of the processor route used for card checkout. A processor route contains an ordered list of processors tried sequentially as a fallback chain. This is a single route ID, not an array — to use multiple processors, define them within the route itself.
Custom field values. Only included when expand=custom_fields is specified.