Anchor to customerPaymentMethodSendUpdateEmailcustomer
mutationcustomer Payment Method Send Update Email
Requires access scope.
Sends an email to a customer containing a secure link to update a specific vaulted payment method. This is commonly used when a customer's credit card is expiring or has been declined, and they need to provide updated payment details for ongoing subscriptions. The email can be customized with sender and BCC fields.
Anchor to Arguments
Arguments
- customerPaymentMethodId (ID!)
- email (EmailInput)
- Anchor to customerPaymentMethodIdcustomer•ID!
Payment Method Id required The payment method to be updated.
- Anchor to emailemail•Email
Input Specifies the payment method update email fields. Only the 'from' and 'bcc' fields are accepted for input.
Was this section helpful?
Anchor to CustomerPaymentMethodSendUpdateEmailPayload returnsCustomer Payment Method Send Update Email Payload returns
- customer (Customer)
- userErrors ([UserError!]!)
- Anchor to customercustomer•Customer
The customer to whom an update payment method email was sent.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?