Skip to main content
Anchor to CustomerPaymentMethodGetDuplicationDataPayload

CustomerPaymentMethodGetDuplicationDataPayload

payload

Return type for customerPaymentMethodGetDuplicationData mutation.

Anchor to encryptedDuplicationDataencryptedDuplicationData
•String

The encrypted data from the payment method to be duplicated.

•[CustomerPaymentMethodGetDuplicationDataUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.

Arguments

Anchor to customerPaymentMethodIdcustomerPaymentMethodId
•ID!
required

The payment method to be duplicated.

•ID!
required

The customer the payment method will be duplicated into.

•ID!
required

The shop the payment method will be duplicated into.



Was this section helpful?