Skip to main content
Anchor to paymentInstrumentSendAddEmail

paymentInstrumentSendAddEmail

mutation

Requires write_customers access scope. Also: The user must have permission to create and edit customers, and read access to the mandate resource.

Sends an email to a customer containing a secure link to add a new payment instrument (e.g., credit card) for a specific resource such as a subscription, order, or draft order. This is used when a customer needs to provide payment details for an existing resource — for example, after a payment method was revoked or when setting up payment for a new subscription contract.

EmailInput

Specifies the payment instrument add email fields. Only the 'from' and 'bcc' fields are accepted for input.

Show input fields
PaymentInstrumentMandateInput!
required

The mandate resource (subscription, order, or draft order) to add a payment instrument for.

Show input fields

Was this section helpful?

Anchor to PaymentInstrumentSendAddEmailPayload returnsPaymentInstrumentSendAddEmailPayload returns

Customer

The customer to whom an add payment instrument email was sent.

Show fields
[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?