> ## 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.

# CreditRate

> Credit Rate



**Kind**: `object`

## Fields

**`amount`**: `Float!`

The credit rate amount

---

**`costFormula`**: `String`

A custom formula for calculating cost based on single event dimensions

---

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

The custom currency refId for the credit rate

---

**`customCurrencyId`**: `UUID`

The custom currency ID for the credit rate

> Deprecated: use currencyId instead



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [JavaScript SDK](https://docs.stigg.io/api-and-sdks/changelog/frontend/javascript.md)
- [CreditRateInput](https://docs.stigg.io/graphql-reference/types/CreditRateInput.md)
- [Prepaid credits](https://docs.stigg.io/documentation/modeling-your-pricing-in-stigg/credits/prepaid-credits.md)
- [Rate Limits](https://docs.stigg.io/api-and-sdks/integration/graphql/rate-limits.md)


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