Context
In the past, merchants had the ability to create multiple accounts. This caused issues where some orders were linked to one account and others to another account. This procedure consolidates all transactions and data into a single account.When to Use
- A merchant reports having multiple accounts with split orders
- Support has identified duplicate accounts for the same merchant
- Transactions are distributed across multiple account IDs
Prerequisites
- Account IDs for all accounts to be merged
- Confirmation from the merchant or support team
- Database access credentials
Procedure
Step 1: Identify Accounts with Orders
First, check which accounts have associated transactions:Replace the account IDs in the
IN
clause with the actual account IDs you need to check.Step 2: Check Accounts with Payouts
Verify which accounts have associated payouts:Step 3: Soft Delete Old Account
Determine which account should be the primary account (the one to keep) and soft delete the old account(s):Step 4: Migrate Transactions
Move all transactions from the old account to the new (primary) account:- The first account ID is the new/primary account (destination)
- The second account ID is the old account (source) being merged
Step 5: Verify Migration
Confirm the migration was successful:Post-Procedure
- Document the merge in the on-call log
- Notify support team of completion
- Confirm with merchant that orders are now visible in their primary account