---
title: "Reassign a Payment Method to Another Customer"
method: PATCH
path: "/payment-methods/{payment_method_id}"
---

# Reassign a Payment Method to Another Customer

`PATCH /payment-methods/{payment_method_id}`

Reassigns an enrolled payment method to a different customer of the same account. Only card payment methods can be reassigned. The reassignment fails when the payment method is already assigned to a customer that has data. Returns the payment method in the same shape as the Enroll Payment Method response, with the new owner in the `customer_id` field.

## Path parameters

- `payment_method_id` string, required

## Headers

- `X-account-code` string, required

## Request body

- ReassignPaymentMethodInput
  - `customer_id` string, required — The unique identifier of the customer the payment method is reassigned to (UUID). The payment method can be reassigned only while its current customer has no data; otherwise the request returns `409 CONFLICT`.

## Response `200`

The reassigned payment method, including the new owner in the `customer_id` field.

- PaymentMethod
  - `idempotency_key` string
  - `name` string
  - `description` string
  - `type` string
  - `category` string
  - `country` string
  - `parent_type` unknown
  - `status` string
  - `sub_status` string
  - `vaulted_token` string
  - `callback_url` unknown
  - `action` unknown
  - `redirect_url` unknown
  - `created_at` string
  - `updated_at` string
  - `card_data` object
    - `iin` string
    - `lfd` string
    - `holder_name` string — Cardholder's full name as returned by the payment provider.
    - `expiration_month` integer
    - `expiration_year` integer
    - `number_length` integer
    - `security_code_length` integer
    - `brand` string
    - `issuer` string
    - `issuer_code` unknown
    - `country_code` string — ISO 3166-1 alpha-2 country code of the card's issuing country.
    - `category` string
    - `type` string
    - `fingerprint` string
  - `last_successfully_used` unknown
  - `last_successfully_used_at` unknown
  - `preferred` unknown
  - `customer_id` string — The unique identifier of the customer the payment method now belongs to. Returned by the reassignment response so you can confirm the new owner.
  - `verify` unknown

## Other responses

- `400` — The request is invalid, the target customer does not exist, or the payment method is not a card.
- `404` — The payment method does not exist for this account.
- `409` — The payment method is already assigned to a customer that has data.

---

[API](https://skmtc.net/y/apis/ai-caller.md) · [All operations](https://skmtc.net/y/apis/ai-caller/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/y/ai-caller/versions/05b629819b49/schema)
