Skip to main content
POST
Mint a live-view token

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.

Response

Token minted. Expires 10 minutes from now.

token
string
required

A JWT pinned to this one checkout.

url
string<uri>
required

The viewer page, token already in the query string. Put it in an iframe.

expiresAt
string<date-time>
required

10 minutes from minting. Mint another when it lapses.