Skip to main content
POST
Get a subscription checkout link

Authorizations

Authorization
string
header
required

A VidJutsu API key (vj_live_...) from POST /auth/verify or POST /keys, or an OAuth access token (MCP clients).

Headers

VidJutsu-Version
string

The API version you wrote your integration against, a date. Without it you get the latest version. The current version is 2026-11-03. See https://docs.vidjutsu.ai/api-reference/introduction#versioning.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-11-03"

Body

application/json
plan_key
string

A plan from offers in GET /billing/subscription. Default: the plan on offer.

success_url
string<uri>

https URL to return to after paying.

cancel_url
string<uri>

https URL to return to if you cancel.

Response

Checkout link

url
string
required

A Stripe-hosted page. Open it in a browser.

amount_micros
integer

Checkout and top-up: the payment amount, in micro-dollars.

reused
boolean

Checkout only: an open checkout session was reused.