Conjure

Start a checkout

Returns the URL of a Polar checkout of the unlimited plan, for a month (the default) or a year. Needs a session cookie (401 without one); 400 for a year on a server without a yearly plan; 503 when the server has no billing or Polar did not answer.

POST/v1/account/checkout

Returns the URL of a Polar checkout of the unlimited plan, for a month (the default) or a year. Needs a session cookie (401 without one); 400 for a year on a server without a yearly plan; 503 when the server has no billing or Polar did not answer.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

interval?|null

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.conjure.design/v1/account/checkout" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "url": "string"
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}