Skip to main content
Anchor to customerPaymentMethodSendUpdateEmail

customerPaymentMethodSendUpdateEmail

mutation

Requires write_customers 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 customerPaymentMethodIdcustomerPaymentMethodId
•ID!
required

The payment method to be updated.

•EmailInput

Specifies the payment method update email fields. Only the 'from' and 'bcc' fields are accepted for input.


Was this section helpful?

Anchor to CustomerPaymentMethodSendUpdateEmailPayload returnsCustomerPaymentMethodSendUpdateEmailPayload returns

•Customer

The customer to whom an update payment method email was sent.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?