Skip to main content
GET
Read a prefilled pay link

Path Parameters

token
string
required

The checkout parameter of an upgrade link (ck_...). It names an account and a plan, is signed, and lasts 7 days. It never holds the key or the email.

Maximum string length: 160

Query Parameters

utm_medium
string

The utm_medium of the page that opened the link (the /upgrade page passes its own), kept on the opening's analytics event. Lower-case letters, digits, _ and -, up to 40 characters; anything else is ignored. It does not change the answer.

Maximum string length: 40

Response

The checkout.

GET /v1/billing/checkout/{token}: what the /upgrade page shows for a prefilled pay link.

available
boolean
required

false when the account cannot buy the plan now; unavailable_reason says why

plan
object
required
account
object
required
token_expires_at
string<date-time>
required
order
object | null
required

The account's newest pending order for this plan on Base or Hyperliquid, or null.

pay
object[]
required

Each network the plan can be paid on, Base first when it is accepted.

create_order
object
required

The call that makes the order (POST this same path).

message
string
required
unavailable_reason
string

A higher paid plan is active (with its end date), or a legacy offer link is closed