# PATCH /billing/auto-top-up

**Resource:** [Billing](./billing.md)  
**MCP tool:** `update_auto_top_up`  
**Scopes:** `billing:write`  
**Write operation:** yes

Turn automatic top-ups on or off and set them up: how much each one adds (amount_aud), the balance that triggers one (trigger_credits) and the most it may spend a month (monthly_cap_aud). Only the fields you send change. It charges the saved card, so it does nothing until a card is saved (see get_saved_card). Current settings are in get_billing_plan under auto_topup.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `enabled` | body | boolean | no | true turns auto top-up on, false turns it off. It only charges when a card is saved. |
| `amount_aud` | body | number | no | How much each automatic top-up adds, in whole Australian dollars, 5 to 10,000. |
| `trigger_credits` | body | number | no | Top up when the balance falls below this many credits, 0 to 100,000,000. |
| `monthly_cap_aud` | body | number | no | Most it may spend on automatic top-ups in a month, in Australian dollars, 5 to 100,000. At least amount_aud. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/billing/auto-top-up"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"enabled":"...","amount_aud":"...","trigger_credits":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`