Update auto-reload settings
Changes the wallet’s auto-reload settings. Needs the billing:write scope.
PATCH
/billing/walletAuthorization
AuthorizationBearer token · headerrequiredAPI key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.
or
AuthorizationOAuth2 access token · headerrequiredOAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.
Request body
requiredapplication/jsonenabledbooleanthreshold_creditsintegermin 100 · max 1000000
target_creditsintegermin 500 · max 5000000
Responses
200
The wallet's credit facts after the change
WalletEnvelope400
bad_request or validation_failed
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
Array of
objectfieldstringrequiredcodestringrequiredAllowed:
requiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequired