Complete Checkout Session
Mark a checkout session as completed.
Works for both User and API Key authentication.
Account access is automatically validated via endpoint dependency.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
external_id
account_id
Response
Successful Response
id
Unique checkout session identifier
account_id
Account identifier
secure_token
Secure token for accessing the checkout session
expires_in_hours
Number of hours until the checkout session expires
completed
Whether the checkout session has been completed
state
Computed state of the checkout session
Allowed values:
is_expired
Whether the checkout session has expired
success_url
URL to redirect to on success
return_url
URL to return to on cancellation
card_tokenization_mode
Card tokenization mode: ‘direct’ (KMS encryption) or ‘vgs’ (VGS Collect + proxy)
Allowed values:
created_at
When the checkout session was created
updated_at
When the checkout session was last updated
customer_id
Customer identifier
customer_email
Customer email address
line_items
List of line items in the checkout session
coupon_id
ID of the coupon applied to this checkout session
promotion_code
Promotion code used to apply the coupon
card_checkout_settings
Settings for card checkout behavior (parallel setup, 3DS mode)
cascade_status
Cascade pricing status (None if no cascade configured)
cascade_tiers
Full cascade tier details including processor routes (None if no cascade configured)
processor_route_id
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.
mode
Checkout session mode
setup_preferences
Preferences for payment method setup
custom_fields
Custom field values. Only included when expand=custom_fields is specified.
params_for_sub
Parameters to pass to the subscription when created from this checkout session.