---
title: Credits
---

[Skip to content](#%5Ftop) 

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

[Billing](https://developers.cloudflare.com/api/python/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/python/resources/billing/subresources/credits/methods/get)

billing.credits.get(CreditGetParams\*\*kwargs)  \-> [CreditGetResponse](https://developers.cloudflare.com/api/python/resources/billing#%28resource%29%20billing.credits%20%3E%20%28model%29%20credit%5Fget%5Fresponse%20%3E%20%28schema%29)

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

##### ModelsExpand Collapse 

class CreditGetResponse: …

confirmed\_balance\_cents: Optional\[int\]

The confirmed credit balance in cents.

formatint64

currency: Optional\[str\]

Currency of the credit balance.

days\_remaining: Optional\[int\]

Days remaining until the credits expire.

formatint64

eligible: Optional\[bool\]

Whether the account is eligible to receive credits.

has\_record: Optional\[bool\]

Whether a credit record exists for the account.

original\_amount\_cents: Optional\[int\]

The original credit amount in cents.

formatint64

percent\_consumed: Optional\[float\]

Percentage of the original credit amount consumed.

formatdouble

projected\_depletion\_date: Optional\[datetime\]

Projected date when the credits will be depleted.

formatdate-time

valid\_from: Optional\[datetime\]

When the credits become valid.

formatdate-time

valid\_to: Optional\[datetime\]

When the credits expire.

formatdate-time