Skip to main content
POST

Authorizations

Authorization
string
header
required

Authorization: Bearer ck_test_… or ck_live_…. There is no other auth scheme — no query-string keys, no request signing, no OAuth.

Path Parameters

id
string<uuid>
required

The checkout id returned at creation.

actionId
string<uuid>
required

The pendingUserAction.id from the checkout. A new action gets a new id every time — never cache one.

Body

application/json
action
string
required
Allowed value: "submit"
values
object
required

Exactly the keys named in the action's responseSchema.properties. Send strings — the engines read them as strings. Required even if empty.

Response

Resolved. The full checkout, without pendingUserAction.

The whole state of one run. This is what you poll.

id
string<uuid>
required
status
enum<string>
required

succeeded, failed and cancelled are terminal; nothing leaves them.

Available options:
queued,
running,
awaiting_user_action,
succeeded,
failed,
cancelled
target
CheckoutTarget · object
required
constraints
CheckoutConstraints · object
required
metadata
object
required

Yours. Stored and echoed back untouched; never sent to a merchant, and not searchable.

progressItems
ProgressItem · object[]
required

Append-only, ordered by sequence. Build your UI around this rather than a spinner.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
subject
string

Your own id for the end user this purchase is for. Absent when the checkout is not tagged to one. Set explicitly at creation, or stamped from the authenticating key's binding.

Example:

"user_a91f"

buyerProfileId
string<uuid>

Absent when no profile was attached, and absent after the referenced profile was deleted.

browser
object

Present once a browser session exists. Not a URL you can watch at — a pointer to the endpoint that mints one.

pendingUserAction
PendingUserAction · object

Present only while the run is blocked. At most one per checkout at a time.

failure
object
receipt
Receipt · object

Present only on a succeeded checkout.