PUT /account/billing/auto-recharge

Set your automatic credit recharge policy.

MethodPath
PUT/v1/account/billing/auto-recharge

Requires a human account administrator; API keys and sandbox tokens cannot change this policy. Supply enabled explicitly. Saving amounts with enabled=false keeps recharge off; enabling requires a saved card. A recharge buys amount_cents of credit and charges the platform fee in addition. Amounts and thresholds preserve exact cents.

curl -X PUT "https://api.ellipsis.dev/v1/account/billing/auto-recharge" \
  -H "Authorization: Bearer $ELLIPSIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount_cents": 0,
  "enabled": false,
  "threshold_cents": 0
}'

Request

Example request body
{
"amount_cents": 0,
"enabled": false,
"threshold_cents": 0
}

Body parameters

amount_centsintegerrequired
enabledbooleanrequired

Explicit opt-in; enabling requires a saved card.

threshold_centsintegerrequired

Response

Example response · 200
{
"amount_cents": 0,
"consecutive_failures": 0,
"enabled": false,
"has_card": false,
"last_attempted_at": "2026-01-01T00:00:00Z",
"min_threshold_cents": 0,
"threshold_cents": 0
}

On this page

No Headings
Schedule a demo