Mark a held takeover transaction as the same transaction as an old row
Changed on#3687. The held copy is the same bank transaction as one of the old connection's rows the hold lists as a candidate, booked on the same day for the same amount, currency and direction (the bank description may differ). Only once Plaid's history is complete. The row is re-keyed to the copy's Plaid id, as automatic adoption does, so later Plaid removals and modifications of the copy reach it through the normal import; its journal entry is untouched and nothing is posted. One old row takes one copy. The row is re-checked under its lock (not deleted or adopted, same bank row, legal entity and GL account), and the audit_logs row (action plaid_takeover_hold.adopted, with the actor, the reason, the old and new Plaid ids and the row id) is written in the same database transaction. Holds that lose their last candidate are listed; the next sync books them. Human accountants only; the assignment is re-read before the write.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
The candidate old row the held copy is.
Why they are the same transaction. Trimmed; at least 10 characters.
Response
The old row, now the copy's transaction
Changes
- info
endpoint added
- info