Merge payees
merge_payeesMerge payees into a target payee, moving their transactions and removing merged payees. Confirm they are the same merchant; this cannot be undone, and payees with transferAccountId must not be merged.
Instructions
Merge one or more payees into a target payee: their transactions move to the target and the merged payees are removed. THIS CANNOT BE UNDONE — confirm the payees really are the same merchant before calling, and never merge a payee that has a transferAccountId, which would corrupt transfers. Takes ids, not names, so a near-miss on a name cannot silently merge the wrong thing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mergeIds | Yes | Ids of the payees to merge into the target. They will no longer exist afterwards. | |
| targetId | Yes | Id of the payee to keep; everything merges into this one. |