---
title: Billing
---

[Skip to content](#_top)

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

Copy Markdown

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

---

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

# Billing

##### [Validate Billing Address](https://developers.cloudflare.com/api/resources/billing/methods/address_validation)

POST/billing/address-validation

##### ModelsExpand Collapse

<details>

<summary>

BillingAddressValidationResponse object {validated\_addresses }

</summary>

<details>

<summary>

validated\_addresses: optional array of object {address, address2, city, 4 more }

List of validated address suggestions.

</summary>

address: optional string

Validated address line 1.

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses%20%3E%20(items)%20%3E%20(property)%20address">Link to this property</a>

address2: optional string

Validated address line 2.

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses%20%3E%20(items)%20%3E%20(property)%20address2">Link to this property</a>

city: optional string

Validated city.

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses%20%3E%20(items)%20%3E%20(property)%20city">Link to this property</a>

country: optional string

Validated country code.

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses%20%3E%20(items)%20%3E%20(property)%20country">Link to this property</a>

state: optional string

Validated state or province.

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses%20%3E%20(items)%20%3E%20(property)%20state">Link to this property</a>

validation\_code: optional string

The validation result code.

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses%20%3E%20(items)%20%3E%20(property)%20validation_code">Link to this property</a>

zipcode: optional string

Validated postal or zip code.

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses%20%3E%20(items)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

<a href="#(resource)%20billing%20%3E%20(model)%20billing_address_validation_response%20%3E%20(schema)%20%3E%20(property)%20validated_addresses">Link to this property</a>

</details>

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

#### BillingProfiles

##### [Get Billing Profile](https://developers.cloudflare.com/api/resources/billing/subresources/profiles/methods/get)

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

##### [Create Billing Profile](https://developers.cloudflare.com/api/resources/billing/subresources/profiles/methods/create)

POST/accounts/{account\_id}/billing/profile

##### [Update Billing Profile](https://developers.cloudflare.com/api/resources/billing/subresources/profiles/methods/update)

PUT/accounts/{account\_id}/billing/profile

##### [Delete Billing Profile](https://developers.cloudflare.com/api/resources/billing/subresources/profiles/methods/delete)

DELETE/accounts/{account\_id}/billing/profile

##### [Update Billing Email](https://developers.cloudflare.com/api/resources/billing/subresources/profiles/methods/update_billing_email)

PATCH/accounts/{account\_id}/billing/profile

##### ModelsExpand Collapse

<details>

<summary>

ProfileGetResponse object {id, account\_type, address, 35 more }

</summary>

id: optional string

Billing item identifier tag.

maxLength32

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

account\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20account_type">Link to this property</a>

address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

balance: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20balance">Link to this property</a>

card\_expiry\_month: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_month">Link to this property</a>

card\_expiry\_year: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_year">Link to this property</a>

card\_number: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20card_number">Link to this property</a>

city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

company: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20company">Link to this property</a>

country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

created\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

device\_data: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

edited\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20edited_on">Link to this property</a>

enterprise\_billing\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_billing_email">Link to this property</a>

enterprise\_primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_primary_email">Link to this property</a>

first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

is\_partner: optional boolean

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20is_partner">Link to this property</a>

last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

next\_bill\_date: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20next_bill_date">Link to this property</a>

payment\_address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_address">Link to this property</a>

payment\_address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_address2">Link to this property</a>

payment\_city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_city">Link to this property</a>

payment\_country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_country">Link to this property</a>

payment\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_first_name">Link to this property</a>

payment\_gateway: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_last_name">Link to this property</a>

payment\_nonce: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

payment\_state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_state">Link to this property</a>

payment\_zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_zipcode">Link to this property</a>

primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20primary_email">Link to this property</a>

state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

tax\_id\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20tax_id_type">Link to this property</a>

telephone: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20telephone">Link to this property</a>

validation\_code: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20validation_code">Link to this property</a>

vat: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20vat">Link to this property</a>

zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_get_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

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

<details>

<summary>

ProfileCreateResponse object {id, account\_type, address, 35 more }

</summary>

id: optional string

Billing item identifier tag.

maxLength32

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

account\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20account_type">Link to this property</a>

address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

balance: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20balance">Link to this property</a>

card\_expiry\_month: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_month">Link to this property</a>

card\_expiry\_year: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_year">Link to this property</a>

card\_number: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20card_number">Link to this property</a>

city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

company: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20company">Link to this property</a>

country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

created\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

device\_data: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

edited\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20edited_on">Link to this property</a>

enterprise\_billing\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_billing_email">Link to this property</a>

enterprise\_primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_primary_email">Link to this property</a>

first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

is\_partner: optional boolean

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20is_partner">Link to this property</a>

last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

next\_bill\_date: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20next_bill_date">Link to this property</a>

payment\_address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_address">Link to this property</a>

payment\_address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_address2">Link to this property</a>

payment\_city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_city">Link to this property</a>

payment\_country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_country">Link to this property</a>

payment\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_first_name">Link to this property</a>

payment\_gateway: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_last_name">Link to this property</a>

payment\_nonce: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

payment\_state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_state">Link to this property</a>

payment\_zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_zipcode">Link to this property</a>

primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20primary_email">Link to this property</a>

state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

tax\_id\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20tax_id_type">Link to this property</a>

telephone: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20telephone">Link to this property</a>

validation\_code: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_code">Link to this property</a>

vat: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20vat">Link to this property</a>

zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_create_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

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

<details>

<summary>

ProfileUpdateResponse object {id, account\_type, address, 35 more }

</summary>

id: optional string

Billing item identifier tag.

maxLength32

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

account\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20account_type">Link to this property</a>

address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

balance: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20balance">Link to this property</a>

card\_expiry\_month: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_month">Link to this property</a>

card\_expiry\_year: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_year">Link to this property</a>

card\_number: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20card_number">Link to this property</a>

city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

company: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20company">Link to this property</a>

country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

created\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

device\_data: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

edited\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20edited_on">Link to this property</a>

enterprise\_billing\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_billing_email">Link to this property</a>

enterprise\_primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_primary_email">Link to this property</a>

first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

is\_partner: optional boolean

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20is_partner">Link to this property</a>

last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

next\_bill\_date: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20next_bill_date">Link to this property</a>

payment\_address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_address">Link to this property</a>

payment\_address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_address2">Link to this property</a>

payment\_city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_city">Link to this property</a>

payment\_country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_country">Link to this property</a>

payment\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_first_name">Link to this property</a>

payment\_gateway: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_last_name">Link to this property</a>

payment\_nonce: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

payment\_state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_state">Link to this property</a>

payment\_zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_zipcode">Link to this property</a>

primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20primary_email">Link to this property</a>

state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

tax\_id\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20tax_id_type">Link to this property</a>

telephone: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20telephone">Link to this property</a>

validation\_code: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20validation_code">Link to this property</a>

vat: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20vat">Link to this property</a>

zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

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

<details>

<summary>

ProfileUpdateBillingEmailResponse object {id, account\_type, address, 35 more }

</summary>

id: optional string

Billing item identifier tag.

maxLength32

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

account\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20account_type">Link to this property</a>

address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

balance: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20balance">Link to this property</a>

card\_expiry\_month: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_month">Link to this property</a>

card\_expiry\_year: optional number

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20card_expiry_year">Link to this property</a>

card\_number: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20card_number">Link to this property</a>

city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

company: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20company">Link to this property</a>

country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

created\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

device\_data: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

edited\_on: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20edited_on">Link to this property</a>

enterprise\_billing\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_billing_email">Link to this property</a>

enterprise\_primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20enterprise_primary_email">Link to this property</a>

first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

is\_partner: optional boolean

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20is_partner">Link to this property</a>

last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

next\_bill\_date: optional string

formatdate-time

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20next_bill_date">Link to this property</a>

payment\_address: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_address">Link to this property</a>

payment\_address2: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_address2">Link to this property</a>

payment\_city: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_city">Link to this property</a>

payment\_country: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_country">Link to this property</a>

payment\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_first\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_first_name">Link to this property</a>

payment\_gateway: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_last\_name: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_last_name">Link to this property</a>

payment\_nonce: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

payment\_state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_state">Link to this property</a>

payment\_zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20payment_zipcode">Link to this property</a>

primary\_email: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20primary_email">Link to this property</a>

state: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

tax\_id\_type: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20tax_id_type">Link to this property</a>

telephone: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20telephone">Link to this property</a>

validation\_code: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20validation_code">Link to this property</a>

vat: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20vat">Link to this property</a>

zipcode: optional string

<a href="#(resource)%20billing.profiles%20%3E%20(model)%20profile_update_billing_email_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

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

#### BillingProfilesPayment Method

##### [Create Payment Intent for Billing Profile](https://developers.cloudflare.com/api/resources/billing/subresources/profiles/subresources/payment_method/methods/create)

POST/accounts/{account\_id}/billing/profile/payment-method

##### ModelsExpand Collapse

<details>

<summary>

PaymentMethodCreateResponse object {client\_secret, intent\_type }

</summary>

client\_secret: optional string

The Stripe client secret for frontend payment method collection.

<a href="#(resource)%20billing.profiles.payment_method%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20client_secret">Link to this property</a>

intent\_type: optional string

The type of Stripe intent created.

<a href="#(resource)%20billing.profiles.payment_method%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20intent_type">Link to this property</a>

</details>

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

#### BillingUsage

##### [Get Account Billable Usage Info (Version 1, Alpha)](https://developers.cloudflare.com/api/resources/billing/subresources/usage/methods/paygo_info)

Deprecated

GET/accounts/{account\_id}/billable-usage/info

##### [Get Account Billable Usage (Version 1, Alpha)](https://developers.cloudflare.com/api/resources/billing/subresources/usage/methods/paygo)

Deprecated

GET/accounts/{account\_id}/billable-usage

##### [Get Account Usage (Version 2, Alpha, Restricted)](https://developers.cloudflare.com/api/resources/billing/subresources/usage/methods/get)

Deprecated

GET/accounts/{account\_id}/billable/usage

##### [Get Account Billable Usage Info (Version 1, Alpha)](https://developers.cloudflare.com/api/resources/billing/subresources/usage/methods/get_account_usage_info_v1)

GET/accounts/{account\_id}/billable-usage/info

##### [Get Account Billable Usage (Version 1, Alpha)](https://developers.cloudflare.com/api/resources/billing/subresources/usage/methods/get_account_usage_v1)

GET/accounts/{account\_id}/billable-usage

##### [Get Account Usage (Version 2, Alpha, Restricted)](https://developers.cloudflare.com/api/resources/billing/subresources/usage/methods/get_account_usage_v2)

GET/accounts/{account\_id}/billable/usage

##### ModelsExpand Collapse

<details>

<summary>

UsagePaygoInfoResponse object {covered, subscriptions }

Contains the usage info.

</summary>

covered: boolean

Indicates whether the account is covered.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_info_response%20%3E%20(schema)%20%3E%20(property)%20covered">Link to this property</a>

<details>

<summary>

subscriptions: array of object {id, billing\_cycle\_anchor\_timestamp, start\_timestamp, end\_timestamp }

List of subscriptions for the account.

</summary>

id: string

The identifier for the Cloudflare subscription.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_info_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

billing\_cycle\_anchor\_timestamp: string

The subscription billing cycle anchor timestamp.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_info_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20billing_cycle_anchor_timestamp">Link to this property</a>

start\_timestamp: string

The subscription start timestamp.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_info_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20start_timestamp">Link to this property</a>

end\_timestamp: optional string

The subscription end timestamp. Omitted for active subscriptions; present only when the subscription has been cancelled.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_info_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20end_timestamp">Link to this property</a>

</details>

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_info_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions">Link to this property</a>

</details>

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

<details>

<summary>

UsagePaygoResponse = array of object {BilledCost, BillingAccountId, BillingAccountName, 24 more }

Contains the array of billable usage records.

</summary>

BilledCost: number

The amount invoiced for this charge. PayGo is billed directly by Cloudflare, so this equals ContractedCost.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BilledCost">Link to this property</a>

BillingAccountId: string

The identifier of the account the charge is billed to (account tag).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountId">Link to this property</a>

BillingAccountName: string

The display name of the billing account. Null when the name could not be resolved.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountName">Link to this property</a>

BillingCurrency: string

Specifies the billing currency code (ISO 4217).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingCurrency">Link to this property</a>

BillingPeriodStart: string

Indicates the start of the billing period. There is no <code>BillingPeriodEnd</code> counterpart; see the known gaps described on this schema.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingPeriodStart">Link to this property</a>

ChargeCategory: "Usage"

Describes the nature of the charge. Always “Usage” for this endpoint, which only returns metered usage.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeCategory">Link to this property</a>

ChargeClass: string

Indicates whether the row corrects a previously invoiced billing period. Always null for this endpoint, which does not return corrections.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeClass">Link to this property</a>

ChargeDescription: string

A human-readable summary of the charge.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeDescription">Link to this property</a>

ChargePeriodEnd: string

Indicates the end of the charge period.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodEnd">Link to this property</a>

ChargePeriodStart: string

Indicates the start of the charge period.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodStart">Link to this property</a>

ConsumedQuantity: number

Specifies the quantity consumed during this charge period.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedQuantity">Link to this property</a>

ConsumedUnit: string

A display name for the unit of measurement used for the product (for example, “GB-months”, “GB-seconds”). May be empty when the unit is implicit in the service name.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedUnit">Link to this property</a>

ContractedCost: number

Specifies the cost for this charge period in the billing currency.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ContractedCost">Link to this property</a>

CumulatedContractedCost: number

Specifies the cumulated cost for the billing period in the billing currency.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20CumulatedContractedCost">Link to this property</a>

CumulatedPricingQuantity: number

Specifies the portion of usage that is actually subject to a unit price.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20CumulatedPricingQuantity">Link to this property</a>

EffectiveCost: number

The amortized cost of the charge. PayGo has no upfront commitments, so this equals ContractedCost.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20EffectiveCost">Link to this property</a>

HostProviderName: string

The provider that hosts the infrastructure or platform the service runs on.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20HostProviderName">Link to this property</a>

InvoiceIssuerName: string

The entity that issues the invoice for this charge.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20InvoiceIssuerName">Link to this property</a>

ListCost: number

The cost at published list prices, before any discount. PayGo has no commitment discounts, so this equals ContractedCost.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ListCost">Link to this property</a>

PricingQuantity: number

Specifies the pricing quantity for this charge period.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingQuantity">Link to this property</a>

PricingUnit: string

The unit that PricingQuantity is expressed in. Unlike ConsumedUnit this is never empty; it falls back to “Count” when the service has no explicit unit.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingUnit">Link to this property</a>

ServiceName: string

Identifies the Cloudflare service.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceName">Link to this property</a>

ServiceProviderName: string

The provider of the purchased service.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceProviderName">Link to this property</a>

ServiceFamilyName: optional string

Identifies the product family for the Cloudflare service.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceFamilyName">Link to this property</a>

SubscriptionId: optional string

The identifier for the Cloudflare subscription.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20SubscriptionId">Link to this property</a>

ZoneId: optional string

The identifier for the Cloudflare zone (zone tag).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ZoneId">Link to this property</a>

ZoneName: optional string

The display name of the Cloudflare zone.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_paygo_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ZoneName">Link to this property</a>

</details>

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

<details>

<summary>

UsageGetResponse = array of object {ChargeCategory, ChargeDescription, ChargeFrequency, 33 more }

Contains the array of cost and usage records.

</summary>

ChargeCategory: "Usage"

Highest-level classification of a charge based on the nature of how it gets billed. Currently only “Usage” is supported.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeCategory">Link to this property</a>

ChargeDescription: string

Self-contained summary of the charge’s purpose and price.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeDescription">Link to this property</a>

ChargeFrequency: "Usage-Based"

Indicates how often a charge occurs. Currently only “Usage-Based” is supported.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeFrequency">Link to this property</a>

ChargePeriodEnd: string

Exclusive end of the time interval during which the usage was consumed.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodEnd">Link to this property</a>

ChargePeriodStart: string

Inclusive start of the time interval during which the usage was consumed.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodStart">Link to this property</a>

ConsumedQuantity: number

Measured usage amount within the charge period. Reflects raw metered consumption before pricing transformations.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedQuantity">Link to this property</a>

ConsumedUnit: string

Unit of measure for the consumed quantity (e.g., “GB”, “Requests”, “vCPU-Hours”).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedUnit">Link to this property</a>

HostProviderName: string

Name of the entity providing the underlying infrastructure or platform.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20HostProviderName">Link to this property</a>

InvoiceIssuerName: string

Name of the entity responsible for invoicing for the services consumed.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20InvoiceIssuerName">Link to this property</a>

ServiceProviderName: string

Name of the entity that made the services available for purchase.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceProviderName">Link to this property</a>

x\_BillableMetricId: string

The unique identifier for the billable metric in the Cloudflare catalog. Cloudflare extension; replaces FOCUS SkuId.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_BillableMetricId">Link to this property</a>

BilledCost: optional number

A charge serving as the basis for invoicing, inclusive of all reduced rates and discounts while excluding the amortization of upfront charges (one-time or recurring).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BilledCost">Link to this property</a>

BillingAccountId: optional string

Public identifier of the Cloudflare account (account tag). Omitted when account is not part of the requested grouping, and always omitted for usage measured at contract level, even when grouping by account: that usage is returned as its own record with no account.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountId">Link to this property</a>

BillingAccountName: optional string

Display name of the Cloudflare account. Omitted when account is not part of the requested grouping, and for usage measured at contract level.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountName">Link to this property</a>

BillingCurrency: optional string

Currency that a charge was billed in (ISO 4217).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingCurrency">Link to this property</a>

BillingPeriodEnd: optional string

Exclusive end of the billing cycle that contains this usage record.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingPeriodEnd">Link to this property</a>

BillingPeriodStart: optional string

Inclusive start of the billing cycle that contains this usage record.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingPeriodStart">Link to this property</a>

ChargeClass: optional "Correction"

Indicates whether the row represents a correction to one or more charges invoiced in a previous billing period.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeClass">Link to this property</a>

ContractedCost: optional number

Cost calculated by multiplying ContractedUnitPrice and the corresponding PricingQuantity.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ContractedCost">Link to this property</a>

ContractedUnitPrice: optional number

The agreed-upon unit price for a single PricingUnit of the associated billable metric, inclusive of negotiated discounts, if present, while excluding any other discounts.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ContractedUnitPrice">Link to this property</a>

EffectiveCost: optional number

The amortized cost of the charge after applying all reduced rates, discounts, and the applicable portion of relevant, prepaid purchases (one-time or recurring) that covered the charge.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20EffectiveCost">Link to this property</a>

ListCost: optional number

Cost calculated by multiplying ListUnitPrice and the corresponding PricingQuantity.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ListCost">Link to this property</a>

ListUnitPrice: optional number

Suggested provider-published unit price for a single PricingUnit of the associated billable metric, exclusive of any discounts.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ListUnitPrice">Link to this property</a>

PricingQuantity: optional number

Volume of a given service used or purchased, based on the PricingUnit.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingQuantity">Link to this property</a>

PricingUnit: optional string

Provider-specified measurement unit for determining unit prices, indicating how the provider rates measured usage after applying pricing rules like block pricing.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingUnit">Link to this property</a>

RegionId: optional string

Provider-assigned identifier for an isolated geographic area where a service is provided.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20RegionId">Link to this property</a>

RegionName: optional string

Name of an isolated geographic area where a service is provided.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20RegionName">Link to this property</a>

SubAccountId: optional string

Unique identifier assigned to a grouping of services. For Cloudflare, this is the subscription or contract ID.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20SubAccountId">Link to this property</a>

SubAccountName: optional string

Name assigned to a grouping of services. For Cloudflare, this is the subscription or contract display name.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20SubAccountName">Link to this property</a>

<details>

<summary>

Tags: optional map\[stringor true]

Tag values for the requested <code>GroupBy</code> keys. Omitted when <code>GroupBy</code> is not provided. Missing keys are omitted, and key-only tags are returned as boolean <code>true</code>. All other tag values are strings.

</summary>

One of the following:

string

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20Tags%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

true

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20Tags%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20Tags">Link to this property</a>

x\_BillableMetricName: optional string

The display name of the billable metric. Cloudflare extension; replaces FOCUS SkuMeter.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_BillableMetricName">Link to this property</a>

x\_ProductCategoryName: optional string

The product category the charge belongs to (e.g., “Developer”, “Cloudflare One”). Cloudflare extension; replaces FOCUS ServiceCategory.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ProductCategoryName">Link to this property</a>

x\_ProductFamilyId: optional string

The unique identifier for the product family in the Cloudflare catalog. Cloudflare extension; replaces FOCUS ServiceId.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ProductFamilyId">Link to this property</a>

x\_ProductFamilyName: optional string

The product family the charge belongs to (e.g., “R2”, “Workers”). Cloudflare extension; replaces FOCUS ServiceName.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ProductFamilyName">Link to this property</a>

x\_ZoneId: optional string

The identifier for the Cloudflare zone (zone tag). Omitted when zone is not part of the requested grouping, and always omitted for usage measured at contract level, even when grouping by zone. Cloudflare extension.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ZoneId">Link to this property</a>

x\_ZoneName: optional string

The display name of the Cloudflare zone. Omitted when zone is not part of the requested grouping, and for usage measured at contract level. Cloudflare extension.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ZoneName">Link to this property</a>

</details>

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

<details>

<summary>

UsageGetAccountUsageInfoV1Response object {covered, subscriptions }

Contains the usage info.

</summary>

covered: boolean

Indicates whether the account is covered.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_info_v1_response%20%3E%20(schema)%20%3E%20(property)%20covered">Link to this property</a>

<details>

<summary>

subscriptions: array of object {id, billing\_cycle\_anchor\_timestamp, start\_timestamp, end\_timestamp }

List of subscriptions for the account.

</summary>

id: string

The identifier for the Cloudflare subscription.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_info_v1_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

billing\_cycle\_anchor\_timestamp: string

The subscription billing cycle anchor timestamp.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_info_v1_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20billing_cycle_anchor_timestamp">Link to this property</a>

start\_timestamp: string

The subscription start timestamp.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_info_v1_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20start_timestamp">Link to this property</a>

end\_timestamp: optional string

The subscription end timestamp. Omitted for active subscriptions; present only when the subscription has been cancelled.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_info_v1_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions%20%3E%20(items)%20%3E%20(property)%20end_timestamp">Link to this property</a>

</details>

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_info_v1_response%20%3E%20(schema)%20%3E%20(property)%20subscriptions">Link to this property</a>

</details>

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

<details>

<summary>

UsageGetAccountUsageV1Response = array of object {BilledCost, BillingAccountId, BillingAccountName, 24 more }

Contains the array of billable usage records.

</summary>

BilledCost: number

The amount invoiced for this charge. PayGo is billed directly by Cloudflare, so this equals ContractedCost.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BilledCost">Link to this property</a>

BillingAccountId: string

The identifier of the account the charge is billed to (account tag).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountId">Link to this property</a>

BillingAccountName: string

The display name of the billing account. Null when the name could not be resolved.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountName">Link to this property</a>

BillingCurrency: string

Specifies the billing currency code (ISO 4217).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingCurrency">Link to this property</a>

BillingPeriodStart: string

Indicates the start of the billing period. There is no <code>BillingPeriodEnd</code> counterpart; see the known gaps described on this schema.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingPeriodStart">Link to this property</a>

ChargeCategory: "Usage"

Describes the nature of the charge. Always “Usage” for this endpoint, which only returns metered usage.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeCategory">Link to this property</a>

ChargeClass: string

Indicates whether the row corrects a previously invoiced billing period. Always null for this endpoint, which does not return corrections.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeClass">Link to this property</a>

ChargeDescription: string

A human-readable summary of the charge.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeDescription">Link to this property</a>

ChargePeriodEnd: string

Indicates the end of the charge period.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodEnd">Link to this property</a>

ChargePeriodStart: string

Indicates the start of the charge period.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodStart">Link to this property</a>

ConsumedQuantity: number

Specifies the quantity consumed during this charge period.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedQuantity">Link to this property</a>

ConsumedUnit: string

A display name for the unit of measurement used for the product (for example, “GB-months”, “GB-seconds”). May be empty when the unit is implicit in the service name.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedUnit">Link to this property</a>

ContractedCost: number

Specifies the cost for this charge period in the billing currency.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ContractedCost">Link to this property</a>

CumulatedContractedCost: number

Specifies the cumulated cost for the billing period in the billing currency.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20CumulatedContractedCost">Link to this property</a>

CumulatedPricingQuantity: number

Specifies the portion of usage that is actually subject to a unit price.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20CumulatedPricingQuantity">Link to this property</a>

EffectiveCost: number

The amortized cost of the charge. PayGo has no upfront commitments, so this equals ContractedCost.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20EffectiveCost">Link to this property</a>

HostProviderName: string

The provider that hosts the infrastructure or platform the service runs on.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20HostProviderName">Link to this property</a>

InvoiceIssuerName: string

The entity that issues the invoice for this charge.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20InvoiceIssuerName">Link to this property</a>

ListCost: number

The cost at published list prices, before any discount. PayGo has no commitment discounts, so this equals ContractedCost.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ListCost">Link to this property</a>

PricingQuantity: number

Specifies the pricing quantity for this charge period.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingQuantity">Link to this property</a>

PricingUnit: string

The unit that PricingQuantity is expressed in. Unlike ConsumedUnit this is never empty; it falls back to “Count” when the service has no explicit unit.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingUnit">Link to this property</a>

ServiceName: string

Identifies the Cloudflare service.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceName">Link to this property</a>

ServiceProviderName: string

The provider of the purchased service.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceProviderName">Link to this property</a>

ServiceFamilyName: optional string

Identifies the product family for the Cloudflare service.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceFamilyName">Link to this property</a>

SubscriptionId: optional string

The identifier for the Cloudflare subscription.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20SubscriptionId">Link to this property</a>

ZoneId: optional string

The identifier for the Cloudflare zone (zone tag).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ZoneId">Link to this property</a>

ZoneName: optional string

The display name of the Cloudflare zone.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v1_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ZoneName">Link to this property</a>

</details>

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

<details>

<summary>

UsageGetAccountUsageV2Response = array of object {ChargeCategory, ChargeDescription, ChargeFrequency, 33 more }

Contains the array of cost and usage records.

</summary>

ChargeCategory: "Usage"

Highest-level classification of a charge based on the nature of how it gets billed. Currently only “Usage” is supported.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeCategory">Link to this property</a>

ChargeDescription: string

Self-contained summary of the charge’s purpose and price.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeDescription">Link to this property</a>

ChargeFrequency: "Usage-Based"

Indicates how often a charge occurs. Currently only “Usage-Based” is supported.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeFrequency">Link to this property</a>

ChargePeriodEnd: string

Exclusive end of the time interval during which the usage was consumed.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodEnd">Link to this property</a>

ChargePeriodStart: string

Inclusive start of the time interval during which the usage was consumed.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargePeriodStart">Link to this property</a>

ConsumedQuantity: number

Measured usage amount within the charge period. Reflects raw metered consumption before pricing transformations.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedQuantity">Link to this property</a>

ConsumedUnit: string

Unit of measure for the consumed quantity (e.g., “GB”, “Requests”, “vCPU-Hours”).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ConsumedUnit">Link to this property</a>

HostProviderName: string

Name of the entity providing the underlying infrastructure or platform.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20HostProviderName">Link to this property</a>

InvoiceIssuerName: string

Name of the entity responsible for invoicing for the services consumed.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20InvoiceIssuerName">Link to this property</a>

ServiceProviderName: string

Name of the entity that made the services available for purchase.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ServiceProviderName">Link to this property</a>

x\_BillableMetricId: string

The unique identifier for the billable metric in the Cloudflare catalog. Cloudflare extension; replaces FOCUS SkuId.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_BillableMetricId">Link to this property</a>

BilledCost: optional number

A charge serving as the basis for invoicing, inclusive of all reduced rates and discounts while excluding the amortization of upfront charges (one-time or recurring).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BilledCost">Link to this property</a>

BillingAccountId: optional string

Public identifier of the Cloudflare account (account tag). Omitted when account is not part of the requested grouping, and always omitted for usage measured at contract level, even when grouping by account: that usage is returned as its own record with no account.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountId">Link to this property</a>

BillingAccountName: optional string

Display name of the Cloudflare account. Omitted when account is not part of the requested grouping, and for usage measured at contract level.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingAccountName">Link to this property</a>

BillingCurrency: optional string

Currency that a charge was billed in (ISO 4217).

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingCurrency">Link to this property</a>

BillingPeriodEnd: optional string

Exclusive end of the billing cycle that contains this usage record.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingPeriodEnd">Link to this property</a>

BillingPeriodStart: optional string

Inclusive start of the billing cycle that contains this usage record.

formatdate-time

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20BillingPeriodStart">Link to this property</a>

ChargeClass: optional "Correction"

Indicates whether the row represents a correction to one or more charges invoiced in a previous billing period.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ChargeClass">Link to this property</a>

ContractedCost: optional number

Cost calculated by multiplying ContractedUnitPrice and the corresponding PricingQuantity.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ContractedCost">Link to this property</a>

ContractedUnitPrice: optional number

The agreed-upon unit price for a single PricingUnit of the associated billable metric, inclusive of negotiated discounts, if present, while excluding any other discounts.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ContractedUnitPrice">Link to this property</a>

EffectiveCost: optional number

The amortized cost of the charge after applying all reduced rates, discounts, and the applicable portion of relevant, prepaid purchases (one-time or recurring) that covered the charge.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20EffectiveCost">Link to this property</a>

ListCost: optional number

Cost calculated by multiplying ListUnitPrice and the corresponding PricingQuantity.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ListCost">Link to this property</a>

ListUnitPrice: optional number

Suggested provider-published unit price for a single PricingUnit of the associated billable metric, exclusive of any discounts.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20ListUnitPrice">Link to this property</a>

PricingQuantity: optional number

Volume of a given service used or purchased, based on the PricingUnit.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingQuantity">Link to this property</a>

PricingUnit: optional string

Provider-specified measurement unit for determining unit prices, indicating how the provider rates measured usage after applying pricing rules like block pricing.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20PricingUnit">Link to this property</a>

RegionId: optional string

Provider-assigned identifier for an isolated geographic area where a service is provided.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20RegionId">Link to this property</a>

RegionName: optional string

Name of an isolated geographic area where a service is provided.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20RegionName">Link to this property</a>

SubAccountId: optional string

Unique identifier assigned to a grouping of services. For Cloudflare, this is the subscription or contract ID.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20SubAccountId">Link to this property</a>

SubAccountName: optional string

Name assigned to a grouping of services. For Cloudflare, this is the subscription or contract display name.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20SubAccountName">Link to this property</a>

<details>

<summary>

Tags: optional map\[stringor true]

Tag values for the requested <code>GroupBy</code> keys. Omitted when <code>GroupBy</code> is not provided. Missing keys are omitted, and key-only tags are returned as boolean <code>true</code>. All other tag values are strings.

</summary>

One of the following:

string

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20Tags%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

true

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20Tags%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20Tags">Link to this property</a>

x\_BillableMetricName: optional string

The display name of the billable metric. Cloudflare extension; replaces FOCUS SkuMeter.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_BillableMetricName">Link to this property</a>

x\_ProductCategoryName: optional string

The product category the charge belongs to (e.g., “Developer”, “Cloudflare One”). Cloudflare extension; replaces FOCUS ServiceCategory.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ProductCategoryName">Link to this property</a>

x\_ProductFamilyId: optional string

The unique identifier for the product family in the Cloudflare catalog. Cloudflare extension; replaces FOCUS ServiceId.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ProductFamilyId">Link to this property</a>

x\_ProductFamilyName: optional string

The product family the charge belongs to (e.g., “R2”, “Workers”). Cloudflare extension; replaces FOCUS ServiceName.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ProductFamilyName">Link to this property</a>

x\_ZoneId: optional string

The identifier for the Cloudflare zone (zone tag). Omitted when zone is not part of the requested grouping, and always omitted for usage measured at contract level, even when grouping by zone. Cloudflare extension.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ZoneId">Link to this property</a>

x\_ZoneName: optional string

The display name of the Cloudflare zone. Omitted when zone is not part of the requested grouping, and for usage measured at contract level. Cloudflare extension.

<a href="#(resource)%20billing.usage%20%3E%20(model)%20usage_get_account_usage_v2_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20x_ZoneName">Link to this property</a>

</details>

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

#### BillingCredits

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

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

##### ModelsExpand Collapse

<details>

<summary>

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

</summary>

confirmed\_balance\_cents: optional 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: optional 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: optional 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: optional 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: optional 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: optional 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: optional 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: optional 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: optional 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: optional 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)>)

#### BillingHistory

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

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

##### ModelsExpand Collapse

<details>

<summary>

HistoryListResponse object {id, action, amount, 12 more }

</summary>

id: optional string

Billing history item identifier.

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

action: optional string

The billing item action.

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

amount: optional number

The amount associated with this billing item.

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

amount\_to\_pay: optional number

The amount remaining to pay.

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

currency: optional string

The currency of the billing item.

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

description: optional string

The billing item description.

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

external\_invoice\_id: optional string

The external invoice identifier.

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

hosted\_invoice\_url: optional string

URL to the hosted invoice.

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

invoice\_id: optional string

The associated invoice identifier.

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

occurred\_at: optional string

When the billing event occurred.

formatdate-time

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

receipt\_id: optional string

The associated receipt identifier.

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

source: optional string

The source of the billing item.

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

source\_invoice\_id: optional string

The source invoice identifier.

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

status: optional string

The status of the billing item.

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

type: optional string

The billing item type.

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

</details>

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

#### BillingBad Debt

##### [Get Account Bad Debt](https://developers.cloudflare.com/api/resources/billing/subresources/bad_debt/methods/get)

GET/accounts/{account\_id}/billing/bad-debt

##### ModelsExpand Collapse

<details>

<summary>

BadDebtGetResponse object {already\_paid, bad\_debt\_status, invoices, total\_debt\_amount }

</summary>

already\_paid: optional number

Amount already paid towards the debt.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20already_paid">Link to this property</a>

bad\_debt\_status: optional string

The current bad debt status of the account.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20bad_debt_status">Link to this property</a>

<details>

<summary>

invoices: optional array of object {id, action, amount, 12 more }

List of outstanding invoices contributing to bad debt.

</summary>

id: optional string

Billing history item identifier.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

action: optional string

The billing item action.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20action">Link to this property</a>

amount: optional number

The amount associated with this billing item.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20amount">Link to this property</a>

amount\_to\_pay: optional number

The amount remaining to pay.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20amount_to_pay">Link to this property</a>

currency: optional string

The currency of the billing item.

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

description: optional string

The billing item description.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

external\_invoice\_id: optional string

The external invoice identifier.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20external_invoice_id">Link to this property</a>

hosted\_invoice\_url: optional string

URL to the hosted invoice.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20hosted_invoice_url">Link to this property</a>

invoice\_id: optional string

The associated invoice identifier.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20invoice_id">Link to this property</a>

occurred\_at: optional string

When the billing event occurred.

formatdate-time

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20occurred_at">Link to this property</a>

receipt\_id: optional string

The associated receipt identifier.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20receipt_id">Link to this property</a>

source: optional string

The source of the billing item.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20source">Link to this property</a>

source\_invoice\_id: optional string

The source invoice identifier.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20source_invoice_id">Link to this property</a>

status: optional string

The status of the billing item.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

type: optional string

The billing item type.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices">Link to this property</a>

total\_debt\_amount: optional number

Total outstanding debt amount.

<a href="#(resource)%20billing.bad_debt%20%3E%20(model)%20bad_debt_get_response%20%3E%20(schema)%20%3E%20(property)%20total_debt_amount">Link to this property</a>

</details>

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

#### BillingUnpaid Invoice

##### [Get Unpaid Invoices](https://developers.cloudflare.com/api/resources/billing/subresources/unpaid_invoice/methods/get)

GET/accounts/{account\_id}/billing/unpaid-invoice

##### ModelsExpand Collapse

<details>

<summary>

UnpaidInvoiceGetResponse object {invoices }

</summary>

<details>

<summary>

invoices: optional array of object {id, action, amount, 12 more }

List of unpaid invoices.

</summary>

id: optional string

Billing history item identifier.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

action: optional string

The billing item action.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20action">Link to this property</a>

amount: optional number

The amount associated with this billing item.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20amount">Link to this property</a>

amount\_to\_pay: optional number

The amount remaining to pay.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20amount_to_pay">Link to this property</a>

currency: optional string

The currency of the billing item.

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

description: optional string

The billing item description.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

external\_invoice\_id: optional string

The external invoice identifier.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20external_invoice_id">Link to this property</a>

hosted\_invoice\_url: optional string

URL to the hosted invoice.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20hosted_invoice_url">Link to this property</a>

invoice\_id: optional string

The associated invoice identifier.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20invoice_id">Link to this property</a>

occurred\_at: optional string

When the billing event occurred.

formatdate-time

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20occurred_at">Link to this property</a>

receipt\_id: optional string

The associated receipt identifier.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20receipt_id">Link to this property</a>

source: optional string

The source of the billing item.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20source">Link to this property</a>

source\_invoice\_id: optional string

The source invoice identifier.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20source_invoice_id">Link to this property</a>

status: optional string

The status of the billing item.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

type: optional string

The billing item type.

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20billing.unpaid_invoice%20%3E%20(model)%20unpaid_invoice_get_response%20%3E%20(schema)%20%3E%20(property)%20invoices">Link to this property</a>

</details>

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

#### BillingRate Plans

##### [Get Rate Plan by Public Key](https://developers.cloudflare.com/api/resources/billing/subresources/rate_plans/methods/get)

GET/billing/rate\_plans/{public\_key}

##### ModelsExpand Collapse

<details>

<summary>

RatePlanGetResponse object {id, components, currency, public\_name }

</summary>

id: optional string

The uppercase rate plan public key.

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

components: optional array of map\[unknown]

Pricing components that make up this rate plan.

<a href="#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)%20%3E%20(property)%20components">Link to this property</a>

currency: optional string

Currency of the rate plan pricing.

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

public\_name: optional string

Human-readable description of the rate plan.

<a href="#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)%20%3E%20(property)%20public_name">Link to this property</a>

</details>

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