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

# AutoRechargeSettingsDTO

> Auto-recharge settings for a customer and currency



**Kind**: `object`

## Fields

**`createdAt`**: `DateTime`

Creation timestamp

---

**`currencyId`**: `String!`

Currency ID

---

**`currentMonthlySpend`**: `Float!`

Total amount spent on automatic recharge grants in the current monthly period (in USD)

---

**`customCurrency`**: `CustomCurrency!`

---

**`customer`**: `Customer!`

---

**`customerId`**: `String!`

Customer ID (refId)

---

**`environmentId`**: `UUID!`

The unique identifier for the environment

---

**`grantExpirationPeriod`**: `GrantExpirationPeriod!`

Expiration period for granted credits

---

**`id`**: `UUID`

Configuration ID

---

**`isEnabled`**: `Boolean!`

Whether auto-recharge is enabled

---

**`maxSpendLimit`**: `Float`

Maximum spend limit (null = unlimited)

---

**`targetBalance`**: `Float!`

Target balance

---

**`thresholdType`**: `ThresholdType!`

Type of threshold

---

**`thresholdValue`**: `Float!`

Threshold value

---

**`updatedAt`**: `DateTime`

Last update timestamp

---

**`validationConfig`**: `AutoRechargeValidationConfigDTO!`

Validation configuration based on subscription pricing



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [AutoRechargeSettingsDTOEdge](https://docs.stigg.io/graphql-reference/types/AutoRechargeSettingsDTOEdge.md)
- [AutoRechargeSettingsDTOAggregateGroupBy](https://docs.stigg.io/graphql-reference/types/AutoRechargeSettingsDTOAggregateGroupBy.md)
- [AutoRechargeSettingsDTOCountAggregate](https://docs.stigg.io/graphql-reference/types/AutoRechargeSettingsDTOCountAggregate.md)
- [AutoRechargeSettingsDTOMaxAggregate](https://docs.stigg.io/graphql-reference/types/AutoRechargeSettingsDTOMaxAggregate.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.