v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-112650216.3 KB
Accounts

Create billing checkout

Creates a hosted checkout session for plan activation or balance top-up.

post/v1/billing/checkout

Request body

target_plan'unpaid' | 'plus' | 'pro' | 'max' | 'null' nullable

Target monthly plan for subscription checkout.

top_up_usd_centsinteger nullable

One-time USD top-up amount in cents.

reasonstring required

Example request

{
  "target_plan": "plus",
  "reason": "Open Tovuk plus checkout."
}

Response

Billing checkout created.

Example response

{
  "checkout": {
    "url": "https://billing.stripe.com/session/example",
    "reason": "Open Tovuk plus checkout."
  }
}