Docs

Log into read the version of docs relevant to your site.

Move payment method from one customer to another

Problem Statement

You want to move a payment method from one customer to another.

Solution

Option 1: Merge customers

Use the merge customers bulk operation. Merging moves the source customer's payment methods, subscriptions, invoices, credit notes, transactions, unbilled charges, and orders to the target customer.

Option 2: Add payment method to the other customer

Chargebee does not store raw payment details; they are stored in the gateway vault. You could add a payment method to Customer B using the reference ID from Customer A, but the gateway would still link it to Customer A. That can cause mandate, address, and validation issues and lead to failed transactions.

The recommended approach is for Customer B to add the payment method directly to their account. Even if the card details are the same, the reference ID and mandate will be different and correctly linked to Customer B.

Was this article helpful?