---
title: customerPaymentMethodCreateFromDuplicationData - GraphQL Admin
description: |-
  Creates a vaulted payment method for a customer from duplication data.

  This data must be obtained from 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/customerPaymentMethodCreateFromDuplicationData
  md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/customerPaymentMethodCreateFromDuplicationData.md
---

# customer​Payment​Method​Create​From​Duplication​Data

mutation

Requires `write_customers` access scope. Also: Requires `write_vaulted_payment_method_duplication` scope.

Creates a vaulted payment method for a customer from duplication data.

This data must be obtained from another shop within the same organization.

Currently, this only supports Shop Pay payment methods. This is only available for selected partner apps.

## Arguments

* billing​Address

  [Mailing​Address​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/MailingAddressInput)

  required

  The billing address.

* customer​Id

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

  required

  The ID of the customer.

* encrypted​Duplication​Data

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

  required

  The encrypted payment method data.

***

## Customer​Payment​Method​Create​From​Duplication​Data​Payload returns

* customer​Payment​Method

  [Customer​Payment​Method](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerPaymentMethod)

  The customer payment method.

* user​Errors

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

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### customerPaymentMethodCreateFromDuplicationData reference