Skip to main content
Anchor to customerPaymentMethodCreditCardUpdate

customerPaymentMethodCreditCardUpdate

mutation

Requires write_customers access scope. Also: Requires write_customer_payment_methods scope.

Updates the credit card payment method for a customer.

•MailingAddressInput!
required

The billing address.

•ID!
required

The ID of the customer payment method.

•String!
required

The Cardserver session ID.


Was this section helpful?

Anchor to CustomerPaymentMethodCreditCardUpdatePayload returnsCustomerPaymentMethodCreditCardUpdatePayload returns

Anchor to customerPaymentMethodcustomerPaymentMethod
•CustomerPaymentMethod

The customer payment method.

•Boolean

If the card verification result is processing. When this is true, customer_payment_method will be null.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?