---
title: Payment Methods
---

[Skip to content](#%5Ftop) 

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

[Accounts](https://developers.cloudflare.com/api/resources/accounts)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Payment Methods

##### [List Payment Methods](https://developers.cloudflare.com/api/resources/accounts/subresources/payment%5Fmethods/methods/list)

GET/accounts/{account\_id}/payment-methods

##### [Create Payment Method](https://developers.cloudflare.com/api/resources/accounts/subresources/payment%5Fmethods/methods/create)

POST/accounts/{account\_id}/payment-methods

##### [Get Payment Method](https://developers.cloudflare.com/api/resources/accounts/subresources/payment%5Fmethods/methods/get)

GET/accounts/{account\_id}/payment-methods/{payment\_method\_id}

##### [Update Payment Method](https://developers.cloudflare.com/api/resources/accounts/subresources/payment%5Fmethods/methods/update)

PUT/accounts/{account\_id}/payment-methods/{payment\_method\_id}

##### [Delete Payment Method](https://developers.cloudflare.com/api/resources/accounts/subresources/payment%5Fmethods/methods/delete)

DELETE/accounts/{account\_id}/payment-methods/{payment\_method\_id}

##### [Set Default Payment Method](https://developers.cloudflare.com/api/resources/accounts/subresources/payment%5Fmethods/methods/set%5Fas%5Fdefault)

POST/accounts/{account\_id}/payment-methods/{payment\_method\_id}/set-as-default

##### ModelsExpand Collapse 

PaymentMethodListResponse object { id, address, address2, 22 more } 

id: optional string

Payment method identifier.

address: optional string

Billing address line 1.

address2: optional string

Billing address line 2.

bank\_account\_type: optional string

Bank account type.

bank\_code: optional string

Bank code.

bank\_country: optional string

Bank country.

bank\_name: optional string

Bank name for bank-based payment methods.

bank\_routing\_number: optional string

Bank routing number.

cashapp\_cash\_tag: optional string

Cash App cash tag.

city: optional string

Billing city.

country: optional string

Billing country.

default: optional boolean

Whether this is the default payment method.

device\_data: optional string

Device data for fraud prevention.

expiration\_date: optional string

Card expiration date.

first\_name: optional string

Billing first name.

last\_four: optional string

Last four digits of the card number.

last\_name: optional string

Billing last name.

nick\_name: optional string

A nickname for the payment method.

payment\_account\_email: optional string

Email associated with the payment account.

payment\_email: optional string

Payment email address.

payment\_gateway: optional string

The payment gateway used.

payment\_nonce: optional string

Payment nonce for tokenized payments.

state: optional string

Billing state.

type: optional "CREDIT\_CARD" or "PAYPAL" or "CASHAPP" or 3 more

The payment method type.

One of the following:

"CREDIT\_CARD"

"PAYPAL"

"CASHAPP"

"SEPA\_DEBIT"

"LINK"

"ACH\_DIRECT\_DEBIT"

zipcode: optional string

Billing zip code.

PaymentMethodCreateResponse object { id, address, address2, 22 more } 

id: optional string

Payment method identifier.

address: optional string

Billing address line 1.

address2: optional string

Billing address line 2.

bank\_account\_type: optional string

Bank account type.

bank\_code: optional string

Bank code.

bank\_country: optional string

Bank country.

bank\_name: optional string

Bank name for bank-based payment methods.

bank\_routing\_number: optional string

Bank routing number.

cashapp\_cash\_tag: optional string

Cash App cash tag.

city: optional string

Billing city.

country: optional string

Billing country.

default: optional boolean

Whether this is the default payment method.

device\_data: optional string

Device data for fraud prevention.

expiration\_date: optional string

Card expiration date.

first\_name: optional string

Billing first name.

last\_four: optional string

Last four digits of the card number.

last\_name: optional string

Billing last name.

nick\_name: optional string

A nickname for the payment method.

payment\_account\_email: optional string

Email associated with the payment account.

payment\_email: optional string

Payment email address.

payment\_gateway: optional string

The payment gateway used.

payment\_nonce: optional string

Payment nonce for tokenized payments.

state: optional string

Billing state.

type: optional "CREDIT\_CARD" or "PAYPAL" or "CASHAPP" or 3 more

The payment method type.

One of the following:

"CREDIT\_CARD"

"PAYPAL"

"CASHAPP"

"SEPA\_DEBIT"

"LINK"

"ACH\_DIRECT\_DEBIT"

zipcode: optional string

Billing zip code.

PaymentMethodGetResponse object { id, address, address2, 22 more } 

id: optional string

Payment method identifier.

address: optional string

Billing address line 1.

address2: optional string

Billing address line 2.

bank\_account\_type: optional string

Bank account type.

bank\_code: optional string

Bank code.

bank\_country: optional string

Bank country.

bank\_name: optional string

Bank name for bank-based payment methods.

bank\_routing\_number: optional string

Bank routing number.

cashapp\_cash\_tag: optional string

Cash App cash tag.

city: optional string

Billing city.

country: optional string

Billing country.

default: optional boolean

Whether this is the default payment method.

device\_data: optional string

Device data for fraud prevention.

expiration\_date: optional string

Card expiration date.

first\_name: optional string

Billing first name.

last\_four: optional string

Last four digits of the card number.

last\_name: optional string

Billing last name.

nick\_name: optional string

A nickname for the payment method.

payment\_account\_email: optional string

Email associated with the payment account.

payment\_email: optional string

Payment email address.

payment\_gateway: optional string

The payment gateway used.

payment\_nonce: optional string

Payment nonce for tokenized payments.

state: optional string

Billing state.

type: optional "CREDIT\_CARD" or "PAYPAL" or "CASHAPP" or 3 more

The payment method type.

One of the following:

"CREDIT\_CARD"

"PAYPAL"

"CASHAPP"

"SEPA\_DEBIT"

"LINK"

"ACH\_DIRECT\_DEBIT"

zipcode: optional string

Billing zip code.

PaymentMethodUpdateResponse object { id, address, address2, 22 more } 

id: optional string

Payment method identifier.

address: optional string

Billing address line 1.

address2: optional string

Billing address line 2.

bank\_account\_type: optional string

Bank account type.

bank\_code: optional string

Bank code.

bank\_country: optional string

Bank country.

bank\_name: optional string

Bank name for bank-based payment methods.

bank\_routing\_number: optional string

Bank routing number.

cashapp\_cash\_tag: optional string

Cash App cash tag.

city: optional string

Billing city.

country: optional string

Billing country.

default: optional boolean

Whether this is the default payment method.

device\_data: optional string

Device data for fraud prevention.

expiration\_date: optional string

Card expiration date.

first\_name: optional string

Billing first name.

last\_four: optional string

Last four digits of the card number.

last\_name: optional string

Billing last name.

nick\_name: optional string

A nickname for the payment method.

payment\_account\_email: optional string

Email associated with the payment account.

payment\_email: optional string

Payment email address.

payment\_gateway: optional string

The payment gateway used.

payment\_nonce: optional string

Payment nonce for tokenized payments.

state: optional string

Billing state.

type: optional "CREDIT\_CARD" or "PAYPAL" or "CASHAPP" or 3 more

The payment method type.

One of the following:

"CREDIT\_CARD"

"PAYPAL"

"CASHAPP"

"SEPA\_DEBIT"

"LINK"

"ACH\_DIRECT\_DEBIT"

zipcode: optional string

Billing zip code.

PaymentMethodDeleteResponse \= unknown or string

One of the following:

unknown

string

PaymentMethodSetAsDefaultResponse \= unknown or string

One of the following:

unknown

string