v1
credits

Configure auto top up

Configure auto top-up settings and perform an immediate top-up if needed.

Raises HTTPException(422) if the request parameters are invalid or if the credit top-up fails.

post/api/credits/auto-top-up

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Request body

amountinteger required
thresholdinteger required

Response

Successful Response

string required

Changes

No recorded changes to this operation across all 246 revisions of this API.