---
title: customerPaymentMethodGetDuplicationData - GraphQL Admin
description: |-
  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.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/customerPaymentMethodGetDuplicationData
  md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/customerPaymentMethodGetDuplicationData.md
---

# customer​Payment​Method​Get​Duplication​Data

mutation

Requires `write_customers` access scope. Also: Requires `write_vaulted_payment_method_duplication` 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.

## Arguments

* customer​Payment​Method​Id

  [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  required

  The payment method to be duplicated.

* target​Customer​Id

  [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  required

  The customer the payment method will be duplicated into.

* target​Shop​Id

  [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  required

  The shop the payment method will be duplicated into.

***

## Customer​Payment​Method​Get​Duplication​Data​Payload returns

* encrypted​Duplication​Data

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The encrypted data from the payment method to be duplicated.

* user​Errors

  [\[Customer​Payment​Method​Get​Duplication​Data​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerPaymentMethodGetDuplicationDataUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### customerPaymentMethodGetDuplicationData reference