Skip to main content
Anchor to CustomerPaymentMethodCreditCardUpdatePayload

CustomerPaymentMethodCreditCardUpdatePayload

payload

Return type for customerPaymentMethodCreditCardUpdate mutation.

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?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates an existing vaulted credit card payment method for a customer, including billing address and card details. Requires a valid cardserver session from a PCI-compliant environment. Use this when a customer's card details have changed (e.g., new expiration date or replacement card) and ongoing subscriptions or saved payment methods need to be updated.

Arguments

•ID!
required

The ID of the customer payment method.

•MailingAddressInput!
required

The billing address.

•String!
required

The Cardserver session ID.



Was this section helpful?