---
title: Credits
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/typescript)

[Billing](https://developers.cloudflare.com/api/typescript/resources/billing)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Credits

##### [Get Account Credits](https://developers.cloudflare.com/api/typescript/resources/billing/subresources/credits/methods/get)

client.billing.credits.get(CreditGetParams { account\_id } params, RequestOptionsoptions?): [CreditGetResponse](https://developers.cloudflare.com/api/typescript/resources/billing#%28resource%29%20billing.credits%20%3E%20%28model%29%20credit%5Fget%5Fresponse%20%3E%20%28schema%29) { confirmed\_balance\_cents, currency, days\_remaining, 7 more } 

GET/accounts/{account\_id}/billing/credits

##### ModelsExpand Collapse 

CreditGetResponse { confirmed\_balance\_cents, currency, days\_remaining, 7 more } 

confirmed\_balance\_cents?: number

The confirmed credit balance in cents.

formatint64

currency?: string

Currency of the credit balance.

days\_remaining?: number

Days remaining until the credits expire.

formatint64

eligible?: boolean

Whether the account is eligible to receive credits.

has\_record?: boolean

Whether a credit record exists for the account.

original\_amount\_cents?: number

The original credit amount in cents.

formatint64

percent\_consumed?: number

Percentage of the original credit amount consumed.

formatdouble

projected\_depletion\_date?: string

Projected date when the credits will be depleted.

formatdate-time

valid\_from?: string

When the credits become valid.

formatdate-time

valid\_to?: string

When the credits expire.

formatdate-time