---
title: "Auto-refill billing preferences"
method: GET
path: "/user/billing-config"
tags: ["Account"]
---

# Auto-refill billing preferences

`GET /user/billing-config`

## Request

- Base URL: `https://riskmodels.app/api`
- URL: `https://riskmodels.app/api/user/billing-config`
- Auth: HTTP bearer

Current auto-refill flags and amounts from `agent_accounts`. Same semantics as portal settings; use `PATCH /balance` for the alternate auto-refill field names (`enabled`, `refill_amount_usd`).

## Response `200`

Billing preferences.

- object
  - `auto_top_up` boolean
  - `auto_top_up_amount` number
  - `auto_top_up_threshold` number
  - `has_payment_method` boolean
  - `allowed_refill_amounts` number[]
  - `threshold_bounds` object
    - `min` number
    - `max` number

## Other responses

- `401`: Unauthorized.
- `404`: Agent account not found.
- `500`: Server error.

---

[API](https://skmtc.dev/riskmodels/apis/riskmodels-api.md) · [All operations](https://skmtc.dev/riskmodels/apis/riskmodels-api/llms.txt) · [OpenAPI document](https://skmtc.dev/riskmodels/apis/riskmodels-api/revisions/1a034cad408a?raw)
