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 body

amountinteger required
thresholdinteger required

Response

Successful Response

string required

Changes

No recorded changes to this endpoint across all 103 revisions of this API.