---
title: "Get automatic recharge configuration"
method: GET
path: "/api/v1/credits/auto-recharge"
tags: ["Auto recharge"]
---

# Get automatic recharge configuration

`GET /api/v1/credits/auto-recharge`

Retrieves the automatic recharge configuration for a customer and currency. Returns default settings if no configuration exists.

## Query parameters

- `customerId` string, required
- `currencyId` string, required

## Headers

- `X-ACCOUNT-ID` string
- `X-ENVIRONMENT-ID` string

## Response `200`

The automatic recharge configuration object.

- AutoRechargeResponseDto — Response object
  - `data` object, required — Automatic recharge configuration for a customer and currency
    - `id` string, nullable, required — The unique configuration ID
    - `customerId` string, required — The customer ID this configuration belongs to
    - `currencyId` string, required — The currency ID for this configuration
    - `isEnabled` boolean, required — Whether automatic recharge is enabled
    - `thresholdType` 'CREDIT_AMOUNT' | 'DOLLAR_AMOUNT', required — The threshold type (CREDIT_AMOUNT or DOLLAR_AMOUNT)
    - `thresholdValue` number, required — The threshold value that triggers a recharge
    - `targetBalance` number, required — The target credit balance to recharge to
    - `maxSpendLimit` number, nullable, required — Maximum monthly spend limit for automatic recharges
    - `grantExpirationPeriod` '1_MONTH' | '1_YEAR', required — Expiration period for auto-recharge grants (1_MONTH or 1_YEAR)
    - `createdAt` string, date-time, nullable, required — Timestamp of when the record was created
    - `updatedAt` string, date-time, nullable, required — Timestamp of when the record was last updated

## Other responses

- `400` — bad request.
- `401` — User is not authenticated.
- `403` — User is not allowed to access this resource.
- `404` — AutoRechargeSettings not found.
- `429` — Too many requests.

## Changes

- **2026-07-08** `58bb216ff8ce` — 1 warning
  - added the new `GovernanceNotEnabled` enum value to the `code` response property for the response status `403`
- **2026-06-08** `3acd63d6c861` — 2 info
  - added the new optional `header` request parameter `X-ACCOUNT-ID`
  - added the new optional `header` request parameter `X-ENVIRONMENT-ID`
- **2026-06-04** `4fa87d66426d` — 1 warning
  - added the new `PricingModelNotSupportedByBillingIntegration` enum value to the `code` response property for the response status `400`
- **2026-05-31** `0dece860f678` — 1 warning
  - added the new `DataExportIntegrationError` enum value to the `code` response property for the response status `400`
- **2026-05-28** `b181b166a2a5` — 1 warning
  - added the new `InvalidReceivedSignatureError` enum value to the `code` response property for the response status `400`

[Change history](https://skmtc.dev/stiggio/apis/stigg-api/changes/api/v1/credits/auto-recharge/get.md)

---

[API](https://skmtc.dev/stiggio/apis/stigg-api.md) · [All operations](https://skmtc.dev/stiggio/apis/stigg-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stiggio/apis/stigg-api/revisions/8b3d4ace525d?raw)
