Skip to main content
Anchor to CustomerPaymentMethodCreditCardUpdatePayload

CustomerPaymentMethodCreditCardUpdatePayload

payload

Return type for customerPaymentMethodCreditCardUpdate mutation.

Anchor to customerPaymentMethodcustomerPaymentMethod
•CustomerPaymentMethod

The customer payment method.

Show fields
•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.

Show fields

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.

Show payload

Arguments

•MailingAddressInput!
required

The billing address.

Show input fields
•ID!
required

The ID of the customer payment method.

•String!
required

The Cardserver session ID.



Was this section helpful?