Customer Payment Method Remote User Error
Requires access scope. Also: Requires scope.
An error in the input of a mutation. Mutations return objects to indicate validation failures, such as invalid field values or business logic violations, that prevent the operation from completing.
Anchor to FieldsFields
- Anchor to codecode•Customer
Payment Method Remote User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Creates a customer payment method using identifiers from remote payment gateways like Stripe, Authorize.Net, or Braintree. Imports existing payment methods from external gateways and associates them with
Customerobjects in Shopify.The operation processes payment methods asynchronously. The returned
initially has incomplete details while Shopify validates and processes the remote gateway information. Use thequery to retrieve the payment method status until all details are available or the payment method is revoked.Learn more about migrating customer payment methods from remote gateways.
- Anchor to customerIdcustomer•ID!
Id required The ID of the customer.
- Anchor to remoteReferenceremote•Customer
Reference Payment Method Remote Input! required Remote gateway payment method details.
- Anchor to disableAddressValidationdisable•Boolean
Address Validation Default:false Disables the requirement for a billing address on the remote payment method.
Arguments