Create order draft checkout session
Creates a Stripe Checkout Session for the current order-draft payment revision, or returns the existing open session when it still has enough remaining lifetime. Stale sessions are expired and superseded before a replacement is created.
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
The etag of the resource version the client last read. Required on writes when the resource exposes an etag field. Mismatch returns 409 ABORTED with the current etag in the error metadata.
1 - 256"42"
Path Parameters
Order draft ID
1 - 55"odft_j572abc..."
Response
Checkout session created or reused
Stripe Checkout Session ID
"cs_test_..."
Stripe-hosted Checkout URL
Unix timestamp (seconds)
x >= 0Stripe payment environment for this Checkout Session.
live, sandbox