Skip to main content
Anchor to CustomerPaymentMethodRemoteUserError

CustomerPaymentMethodRemoteUserError

object

Requires read_customers access scope. Also: Requires read_customer_payment_methods scope.

Represents an error in the input of a mutation.

•CustomerPaymentMethodRemoteUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


Was this section helpful?

•mutation

Create a payment method from remote gateway identifiers. NOTE: This operation processes payment methods asynchronously. The returned payment method will initially have incomplete details. Developers must poll this payment method using customerPaymentMethod query until all payment method details are available, or the payment method is revoked (usually within seconds).

Arguments

•ID!required

The ID of the customer.

•CustomerPaymentMethodRemoteInput!required

Remote gateway payment method details.


Fields

Anchor to customerPaymentMethodcustomerPaymentMethod
•CustomerPaymentMethod

The customer payment method. Note that the returned payment method may initially be in an incomplete state. Developers should poll this payment method using the customerPaymentMethod query until all required payment details have been processed.

•[CustomerPaymentMethodRemoteUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?