Anchor to CustomerPaymentMethodCreditCardUpdatePayloadCustomer
payloadCustomer Payment Method Credit Card Update Payload
Return type for mutation.
Anchor to FieldsFields
- customerPaymentMethod (CustomerPaymentMethod)
- processing (Boolean)
- userErrors ([UserError!]!)
- Anchor to customerPaymentMethodcustomer•Customer
Payment Method Payment Method The customer payment method.
- Anchor to processingprocessing•Boolean
If the card verification result is processing. When this is true, customer_payment_method will be null.
- Anchor to userErrorsuser•[User
Errors Error!]! 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
- customerPaymentMethodCreditCardUpdate (CustomerPaymentMethodCreditCardUpdatePayload)
- •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.
- •ID!required
The ID of the customer payment method.
- Anchor to billingAddressbilling•Mailing
Address Address Input! required The billing address.
- Anchor to sessionIdsession•String!
Id required The Cardserver session ID.
Arguments
- •ID!
Was this section helpful?