Anchor to customerPaymentMethodGetDuplicationDatacustomer
mutationcustomer Payment Method Get Duplication Data
Requires access scope. Also: Requires scope.
Returns encrypted data that can be used to duplicate the payment method in another shop within the same organization.
Currently, this only supports Shop Pay payment methods. This is only available for selected partner apps.
Anchor to Arguments
Arguments
- customerPaymentMethodId (ID!)
- targetCustomerId (ID!)
- targetShopId (ID!)
- Anchor to customerPaymentMethodIdcustomer•ID!
Payment Method Id required The payment method to be duplicated.
- Anchor to targetCustomerIdtarget•ID!
Customer Id required The customer the payment method will be duplicated into.
- Anchor to targetShopIdtarget•ID!
Shop Id required The shop the payment method will be duplicated into.
Was this section helpful?
Anchor to CustomerPaymentMethodGetDuplicationDataPayload returnsCustomer Payment Method Get Duplication Data Payload returns
- encryptedDuplicationData (String)
- userErrors ([CustomerPaymentMethodGetDuplicationDataUserError!]!)
- Anchor to encryptedDuplicationDataencrypted•String
Duplication Data The encrypted data from the payment method to be duplicated.
- Anchor to userErrorsuser•[Customer
Errors Payment Method Get Duplication Data User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?