customerPaymentMethodCreditCardUpdate - admin-graphql - MUTATION
Version: 2024-04
Description:
Updates the credit card payment method for a customer.
Access Scopes
`write_customers` access scope. Also: Requires `write_customer_payment_methods` scope.
Arguments
-
billingAddress:
MailingAddressInput! -
The billing address.
-
id:
ID! -
The ID of the customer payment method.
-
sessionId:
String! -
The Cardserver session ID.
Returns
-
customerPaymentMethod:
CustomerPaymentMethod
The customer payment method.
-
processing:
Boolean
If the card verification result is processing. When this is true, customer_payment_method will be null.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples