Customer Payment Method Remote Create Payload
Return type for mutation.
Anchor to FieldsFields
- customerPaymentMethod (CustomerPaymentMethod)
- userErrors ([CustomerPaymentMethodRemoteUserError!]!)
- Anchor to customerPaymentMethodcustomer•Customer
Payment Method Payment Method 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.
- Anchor to userErrorsuser•[Customer
Errors Payment Method Remote User Error!]! non-null The list of errors that occurred from executing the mutation.
Anchor to Mutations with this payloadMutations with this payload
- customerPaymentMethodRemoteCreate (CustomerPaymentMethodRemoteCreatePayload)
- •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.
Arguments