---
title: Payment Methods
---

[Skip to content](#_top)

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

[Accounts](https://developers.cloudflare.com/api/python/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/python/resources/accounts/subresources/payment_methods/methods/list)

accounts.payment\_methods.list(PaymentMethodListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[PaymentMethodListResponse](<https://developers.cloudflare.com/api/python/resources/accounts#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)>)]

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

##### [Create Payment Method](https://developers.cloudflare.com/api/python/resources/accounts/subresources/payment_methods/methods/create)

accounts.payment\_methods.create(PaymentMethodCreateParams\*\*kwargs) -> [PaymentMethodCreateResponse](<https://developers.cloudflare.com/api/python/resources/accounts#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)>)

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

##### [Get Payment Method](https://developers.cloudflare.com/api/python/resources/accounts/subresources/payment_methods/methods/get)

accounts.payment\_methods.get(strpayment\_method\_id, PaymentMethodGetParams\*\*kwargs) -> [PaymentMethodGetResponse](<https://developers.cloudflare.com/api/python/resources/accounts#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)>)

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

##### [Update Payment Method](https://developers.cloudflare.com/api/python/resources/accounts/subresources/payment_methods/methods/update)

accounts.payment\_methods.update(strpayment\_method\_id, PaymentMethodUpdateParams\*\*kwargs) -> [PaymentMethodUpdateResponse](<https://developers.cloudflare.com/api/python/resources/accounts#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)>)

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

##### [Delete Payment Method](https://developers.cloudflare.com/api/python/resources/accounts/subresources/payment_methods/methods/delete)

accounts.payment\_methods.delete(strpayment\_method\_id, PaymentMethodDeleteParams\*\*kwargs) -> [PaymentMethodDeleteResponse](<https://developers.cloudflare.com/api/python/resources/accounts#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_delete_response%20%3E%20(schema)>)

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

##### [Set Default Payment Method](https://developers.cloudflare.com/api/python/resources/accounts/subresources/payment_methods/methods/set_as_default)

accounts.payment\_methods.set\_as\_default(strpayment\_method\_id, PaymentMethodSetAsDefaultParams\*\*kwargs) -> [PaymentMethodSetAsDefaultResponse](<https://developers.cloudflare.com/api/python/resources/accounts#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_set_as_default_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class PaymentMethodListResponse: …

</summary>

id: Optional\[str]

Payment method identifier.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

address: Optional\[str]

Billing address line 1.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: Optional\[str]

Billing address line 2.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

bank\_account\_type: Optional\[str]

Bank account type.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20bank_account_type">Link to this property</a>

bank\_code: Optional\[str]

Bank code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20bank_code">Link to this property</a>

bank\_country: Optional\[str]

Bank country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20bank_country">Link to this property</a>

bank\_name: Optional\[str]

Bank name for bank-based payment methods.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20bank_name">Link to this property</a>

bank\_routing\_number: Optional\[str]

Bank routing number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20bank_routing_number">Link to this property</a>

cashapp\_cash\_tag: Optional\[str]

Cash App cash tag.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20cashapp_cash_tag">Link to this property</a>

city: Optional\[str]

Billing city.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

country: Optional\[str]

Billing country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

default: Optional\[bool]

Whether this is the default payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

device\_data: Optional\[str]

Device data for fraud prevention.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

expiration\_date: Optional\[str]

Card expiration date.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20expiration_date">Link to this property</a>

first\_name: Optional\[str]

Billing first name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

last\_four: Optional\[str]

Last four digits of the card number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20last_four">Link to this property</a>

last\_name: Optional\[str]

Billing last name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

nick\_name: Optional\[str]

A nickname for the payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20nick_name">Link to this property</a>

payment\_account\_email: Optional\[str]

Email associated with the payment account.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20payment_account_email">Link to this property</a>

payment\_email: Optional\[str]

Payment email address.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_gateway: Optional\[str]

The payment gateway used.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_nonce: Optional\[str]

Payment nonce for tokenized payments.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

state: Optional\[str]

Billing state.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

type: Optional\[Literal\["CREDIT\_CARD", "PAYPAL", "CASHAPP", 3 more]]

The payment method type.

</summary>

One of the following:

"CREDIT\_CARD"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"PAYPAL"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"CASHAPP"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"SEPA\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"LINK"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

"ACH\_DIRECT\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

zipcode: Optional\[str]

Billing zip code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

[Link to this property](<#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_list_response%20%3E%20(schema)>)

<details>

<summary>

class PaymentMethodCreateResponse: …

</summary>

id: Optional\[str]

Payment method identifier.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

address: Optional\[str]

Billing address line 1.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: Optional\[str]

Billing address line 2.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

bank\_account\_type: Optional\[str]

Bank account type.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20bank_account_type">Link to this property</a>

bank\_code: Optional\[str]

Bank code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20bank_code">Link to this property</a>

bank\_country: Optional\[str]

Bank country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20bank_country">Link to this property</a>

bank\_name: Optional\[str]

Bank name for bank-based payment methods.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20bank_name">Link to this property</a>

bank\_routing\_number: Optional\[str]

Bank routing number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20bank_routing_number">Link to this property</a>

cashapp\_cash\_tag: Optional\[str]

Cash App cash tag.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20cashapp_cash_tag">Link to this property</a>

city: Optional\[str]

Billing city.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

country: Optional\[str]

Billing country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

default: Optional\[bool]

Whether this is the default payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

device\_data: Optional\[str]

Device data for fraud prevention.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

expiration\_date: Optional\[str]

Card expiration date.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20expiration_date">Link to this property</a>

first\_name: Optional\[str]

Billing first name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

last\_four: Optional\[str]

Last four digits of the card number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20last_four">Link to this property</a>

last\_name: Optional\[str]

Billing last name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

nick\_name: Optional\[str]

A nickname for the payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20nick_name">Link to this property</a>

payment\_account\_email: Optional\[str]

Email associated with the payment account.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_account_email">Link to this property</a>

payment\_email: Optional\[str]

Payment email address.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_gateway: Optional\[str]

The payment gateway used.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_nonce: Optional\[str]

Payment nonce for tokenized payments.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

state: Optional\[str]

Billing state.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

type: Optional\[Literal\["CREDIT\_CARD", "PAYPAL", "CASHAPP", 3 more]]

The payment method type.

</summary>

One of the following:

"CREDIT\_CARD"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"PAYPAL"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"CASHAPP"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"SEPA\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"LINK"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

"ACH\_DIRECT\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

zipcode: Optional\[str]

Billing zip code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_create_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

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

<details>

<summary>

class PaymentMethodGetResponse: …

</summary>

id: Optional\[str]

Payment method identifier.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

address: Optional\[str]

Billing address line 1.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: Optional\[str]

Billing address line 2.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

bank\_account\_type: Optional\[str]

Bank account type.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20bank_account_type">Link to this property</a>

bank\_code: Optional\[str]

Bank code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20bank_code">Link to this property</a>

bank\_country: Optional\[str]

Bank country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20bank_country">Link to this property</a>

bank\_name: Optional\[str]

Bank name for bank-based payment methods.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20bank_name">Link to this property</a>

bank\_routing\_number: Optional\[str]

Bank routing number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20bank_routing_number">Link to this property</a>

cashapp\_cash\_tag: Optional\[str]

Cash App cash tag.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20cashapp_cash_tag">Link to this property</a>

city: Optional\[str]

Billing city.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

country: Optional\[str]

Billing country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

default: Optional\[bool]

Whether this is the default payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

device\_data: Optional\[str]

Device data for fraud prevention.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

expiration\_date: Optional\[str]

Card expiration date.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20expiration_date">Link to this property</a>

first\_name: Optional\[str]

Billing first name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

last\_four: Optional\[str]

Last four digits of the card number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20last_four">Link to this property</a>

last\_name: Optional\[str]

Billing last name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

nick\_name: Optional\[str]

A nickname for the payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20nick_name">Link to this property</a>

payment\_account\_email: Optional\[str]

Email associated with the payment account.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_account_email">Link to this property</a>

payment\_email: Optional\[str]

Payment email address.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_gateway: Optional\[str]

The payment gateway used.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_nonce: Optional\[str]

Payment nonce for tokenized payments.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

state: Optional\[str]

Billing state.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

type: Optional\[Literal\["CREDIT\_CARD", "PAYPAL", "CASHAPP", 3 more]]

The payment method type.

</summary>

One of the following:

"CREDIT\_CARD"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"PAYPAL"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"CASHAPP"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"SEPA\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"LINK"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

"ACH\_DIRECT\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

zipcode: Optional\[str]

Billing zip code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

[Link to this property](<#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_get_response%20%3E%20(schema)>)

<details>

<summary>

class PaymentMethodUpdateResponse: …

</summary>

id: Optional\[str]

Payment method identifier.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

address: Optional\[str]

Billing address line 1.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

address2: Optional\[str]

Billing address line 2.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20address2">Link to this property</a>

bank\_account\_type: Optional\[str]

Bank account type.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20bank_account_type">Link to this property</a>

bank\_code: Optional\[str]

Bank code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20bank_code">Link to this property</a>

bank\_country: Optional\[str]

Bank country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20bank_country">Link to this property</a>

bank\_name: Optional\[str]

Bank name for bank-based payment methods.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20bank_name">Link to this property</a>

bank\_routing\_number: Optional\[str]

Bank routing number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20bank_routing_number">Link to this property</a>

cashapp\_cash\_tag: Optional\[str]

Cash App cash tag.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20cashapp_cash_tag">Link to this property</a>

city: Optional\[str]

Billing city.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20city">Link to this property</a>

country: Optional\[str]

Billing country.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20country">Link to this property</a>

default: Optional\[bool]

Whether this is the default payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

device\_data: Optional\[str]

Device data for fraud prevention.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20device_data">Link to this property</a>

expiration\_date: Optional\[str]

Card expiration date.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20expiration_date">Link to this property</a>

first\_name: Optional\[str]

Billing first name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20first_name">Link to this property</a>

last\_four: Optional\[str]

Last four digits of the card number.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20last_four">Link to this property</a>

last\_name: Optional\[str]

Billing last name.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20last_name">Link to this property</a>

nick\_name: Optional\[str]

A nickname for the payment method.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20nick_name">Link to this property</a>

payment\_account\_email: Optional\[str]

Email associated with the payment account.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_account_email">Link to this property</a>

payment\_email: Optional\[str]

Payment email address.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_email">Link to this property</a>

payment\_gateway: Optional\[str]

The payment gateway used.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_gateway">Link to this property</a>

payment\_nonce: Optional\[str]

Payment nonce for tokenized payments.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20payment_nonce">Link to this property</a>

state: Optional\[str]

Billing state.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

type: Optional\[Literal\["CREDIT\_CARD", "PAYPAL", "CASHAPP", 3 more]]

The payment method type.

</summary>

One of the following:

"CREDIT\_CARD"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"PAYPAL"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"CASHAPP"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"SEPA\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"LINK"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

"ACH\_DIRECT\_DEBIT"

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

zipcode: Optional\[str]

Billing zip code.

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)%20%3E%20(property)%20zipcode">Link to this property</a>

</details>

[Link to this property](<#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_update_response%20%3E%20(schema)>)

<details>

<summary>

Union\[Optional\[str], Optional\[object]]

</summary>

One of the following:

Optional\[str]

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_delete_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

Optional\[object]

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_delete_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

</details>

[Link to this property](<#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_delete_response%20%3E%20(schema)>)

<details>

<summary>

Union\[Optional\[str], Optional\[object]]

</summary>

One of the following:

Optional\[str]

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_set_as_default_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

Optional\[object]

<a href="#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_set_as_default_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

</details>

[Link to this property](<#(resource)%20accounts.payment_methods%20%3E%20(model)%20payment_method_set_as_default_response%20%3E%20(schema)>)