> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vouchmark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update auto top-up

> Enable or configure automatic wallet top-up.

Configure automatic top-up so your wallet is recharged when the balance drops below a trigger. Requires a saved card on file.

<Note>
  Request amounts are in **kobo** (1 NGN = 100 kobo). The returned wallet also reports amounts in integer **kobo**.
</Note>

## Body

<ParamField body="enabled" type="boolean" required>
  Whether auto top-up is active.
</ParamField>

<ParamField body="triggerBelowKobo" type="integer" required>
  Balance in kobo at which auto top-up triggers. Nullable.
</ParamField>

<ParamField body="rechargeAmountKobo" type="integer" required>
  Amount in kobo to recharge when triggered. Nullable.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH https://api.vouchmark.com/v1/wallet/auto-top-up \
    -H "Authorization: Bearer $TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "enabled": true,
      "triggerBelowKobo": 500000,
      "rechargeAmountKobo": 10000000
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "message": "Auto top-up updated successfully",
    "data": {
      "balanceKobo": 5000000,
      "paymentThresholdKobo": 1000000,
      "autoTopUp": {
        "enabled": true,
        "triggerBelowKobo": 500000,
        "rechargeAmountKobo": 10000000
      },
      "hasSavedCard": true,
      "currency": "NGN"
    }
  }
  ```
</ResponseExample>

The `data` object is the full wallet DTO described in [Get wallet](/api-reference/wallet/get-wallet) (values in integer kobo).
