---
title: Billing
---

[Skip to content](#_top)

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

[User](https://developers.cloudflare.com/api/go/resources/user)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Billing

#### BillingHistory

##### [Billing History Details](https://developers.cloudflare.com/api/go/resources/user/subresources/billing/subresources/history/methods/list)

Deprecated

client.User.Billing.History.List(ctx, query) (\*V4PagePaginationArray\[[BillingHistory](<https://developers.cloudflare.com/api/go/resources/user#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)>)], error)

GET/user/billing/history

##### ModelsExpand Collapse

<details>

<summary>

type BillingHistory struct{…}

</summary>

ID string

Billing item identifier tag.

maxLength32

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Action string

The billing item action.

maxLength30

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20action">Link to this property</a>

Amount float64

The amount associated with this billing item.

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20amount">Link to this property</a>

Currency string

The monetary unit in which pricing information is displayed.

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

Description string

The billing item description.

maxLength255

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

OccurredAt Time

When the billing item was created.

formatdate-time

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20occurred_at">Link to this property</a>

Type string

The billing item type.

maxLength30

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

<details>

<summary>

Zone BillingHistoryZone

</summary>

Name stringOptional

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20zone%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20user.billing.history%20%3E%20(model)%20billing_history%20%3E%20(schema)%20%3E%20(property)%20zone">Link to this property</a>

</details>

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

#### BillingProfile

##### [Billing Profile Details](https://developers.cloudflare.com/api/go/resources/user/subresources/billing/subresources/profile/methods/get)

Deprecated

client.User.Billing.Profile.Get(ctx) (\*[BillingProfileGetResponse](<https://developers.cloudflare.com/api/go/resources/user#(resource)%20user.billing.profile%20%3E%20(model)%20BillingProfileGetResponse%20%3E%20(schema)>), error)

GET/user/billing/profile