Appearance
Create subscription checkout
POST
/api/v1/billing/checkout
Creates a checkout for new subscriptions, or updates an existing subscription for plan changes. Returns checkout_url (Dodo) and/or transaction_id (Paddle) depending on the provider.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Request Body
application/json
JSON "tier": "string", "billing_period": "string"
{
}
Responses
Successful Response
application/json
JSON "checkout_url": "string", "transaction_id": "string", "client_token": "string", "plan_changed": false, "scheduled": false
{
}