Skip to main content
POST
/
v1
/
billing
/
checkout
Create Checkout
curl --request POST \
  --url https://api.polysimulator.com/v1/billing/checkout \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "consent_acknowledged": false
}
'
{
  "url": "<string>"
}

Authorizations

X-API-Key
string
header
required

Issue from /v1/keys (or admin-issued for enterprise tier).

Headers

authorization
string | null

Body

application/json
plan
enum<string>
required
Available options:
pro,
pro_plus
billing
enum<string>
required
Available options:
monthly,
yearly

Response

Successful Response

url
string
required