Skip to main content
POST
Set auto top-up

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
enabled
boolean
required

Turn auto top-up on or off.

threshold_usd

Top up when usage takes your balance below this many dollars. Whole cents, above 0 and up to 500. Default 10, or your saved value.

amount_usd

Dollars, in whole cents, from 10 to 500 (for example 25 or "12.50"). Default 59, or your saved value.

Response

The setting

auto_top_up
object | null
required

Null when auto top-up is off.