Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to CustomerPaymentMethod

CustomerPaymentMethod

object

Requires read_customers access scope. Also: Requires read_customer_payment_methods scope.

A customer's payment method.

Anchor to Fields and connectionsFields and connections

•

The customer to whom the payment method belongs.

•
ID!non-null

The ID of this payment method.

•

The instrument for this payment method.

•

The time that the payment method was revoked.

•

The revocation reason for this payment method.

Anchor to subscriptionContractssubscriptionContracts
•

List Subscription Contracts.


Was this section helpful?

•
query

Returns a CustomerPaymentMethod resource by its ID.


Was this section helpful?

•
mutation

Creates a credit card payment method for a customer using a session id. These values are only obtained through card imports happening from a PCI compliant environment. Please use customerPaymentMethodRemoteCreate if you are not managing credit cards directly.

•
mutation

Updates the credit card payment method for a customer.

•
mutation

Creates a PayPal billing agreement for a customer.

•
mutation

Updates a PayPal billing agreement for a customer.

•
mutation

Create a payment method from remote gateway identifiers.


Was this section helpful?

•
interface

Was this section helpful?