---
title: Credits
---

[Skip to content](#_top)

[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#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)>) {confirmed\_balance\_cents, currency, days\_remaining, 7 more }

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

##### ModelsExpand Collapse

<details>

<summary>

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

</summary>

confirmed\_balance\_cents?: number

The confirmed credit balance in cents.

formatint64

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20confirmed_balance_cents">Link to this property</a>

currency?: string

Currency of the credit balance.

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20currency">Link to this property</a>

days\_remaining?: number

Days remaining until the credits expire.

formatint64

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20days_remaining">Link to this property</a>

eligible?: boolean

Whether the account is eligible to receive credits.

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20eligible">Link to this property</a>

has\_record?: boolean

Whether a credit record exists for the account.

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20has_record">Link to this property</a>

original\_amount\_cents?: number

The original credit amount in cents.

formatint64

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20original_amount_cents">Link to this property</a>

percent\_consumed?: number

Percentage of the original credit amount consumed.

formatdouble

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20percent_consumed">Link to this property</a>

projected\_depletion\_date?: string

Projected date when the credits will be depleted.

formatdate-time

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20projected_depletion_date">Link to this property</a>

valid\_from?: string

When the credits become valid.

formatdate-time

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20valid_from">Link to this property</a>

valid\_to?: string

When the credits expire.

formatdate-time

<a href="#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)%20%3E%20(property)%20valid_to">Link to this property</a>

</details>

[Link to this property](<#(resource)%20billing.credits%20%3E%20(model)%20credit_get_response%20%3E%20(schema)>)