Skip to main content
POST
/
billing
/
checkout
Create Checkout
curl --request POST \
  --url https://api.ara.so/billing/checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plan": "<string>",
  "success_url": "",
  "promotion_code": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
plan
string
required
success_url
string
default:""
promotion_code
string | null

Response

Successful Response