客户付款方式-CustomerPaymentMethod 目的
客户的付款方式。
所需的访问
read_customers 访问范围。
在本页面
Connections
- subscriptionContracts(
[SubscriptionContractConnection!](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptioncontract))
列出订购合同。 
| 争论 | 描述 | 
|---|---|
after( [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))  | 
返回指定游标之后的元素。 | 
before( [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))  | 
返回指定游标之前的元素。 | 
first( [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))  | 
返回n列表中的第一个元素。 | 
last( [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))  | 
返回n列表中的最后一个元素。 | 
reverse( [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))  | 
颠倒基础列表的顺序。 默认值: false | 
字段
- 客户(
[Customer](https://shopify.dev/docs/admin-api/graphql/reference/customers/customer))
付款方式所属的客户。 - 编号(
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
此付款方式的ID。 - 仪器(
[CustomerPaymentInstrument](https://shopify.dev/docs/admin-api/graphql/reference/customers/customerpaymentinstrument))
此付款方式的工具。 - 已撤销(
[DateTime](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01))
取消付款方式的时间。 
返回CustomerPaymentMethod的类型
[Customer.paymentMethods](https://shopify.dev/docs/admin-api/graphql/reference/customers/customer#paymentmethods-2021-01)[QueryRoot.customerPaymentMethod](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#customerpaymentmethod-2021-01)[SubscriptionContract.customerPaymentMethod](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptioncontract#customerpaymentmethod-2021-01)[SubscriptionDraft.customerPaymentMethod](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondraft#customerpaymentmethod-2021-01)
CustomerPaymentMethod的变异
- customerPaymentMethodCreditCardCreate
为客户创建信用卡付款方式。 - customerPaymentMethodCreditCardUpdate
更新客户的信用卡付款方式。 - customerPaymentMethodRemoteCreditCardCreate
使用Stripe存储的信用卡创建付款方式。 - customerPaymentMethodRevoke
撤销客户的付款方式。 - customerPaymentMethodSendUpdateEmail
向客户发送链接,以便他们可以更新特定的付款方式。 
派生关系
[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)
自动生成的类型,用于通过多个CustomerPaymentMethods分页。
在本页面
字段
- 边(
[[CustomerPaymentMethodEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/customers/customerpaymentmethod))
边列表。 - pageInfo(
[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo))
有助于分页的信息。 
自动生成的类型,在分页过程中保留一个CustomerPaymentMethod和一个光标。
在本页面
字段
- 光标(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
用于分页的光标。 - 节点(
[CustomerPaymentMethod!](https://shopify.dev/docs/admin-api/graphql/reference/customers/customerpaymentmethod))
CustomerPaymentMethodEdge末尾的项目。 
返回CustomerPaymentMethodEdge的类型
[CustomerPaymentMethodConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/customers/customerpaymentmethod#edges-2021-01)
