Preview a bank-statement CSV import (no write)
Changed onPG-p08-017. The same body as the import, decided row by row by the same code, with nothing written. new imports (two equal same-day rows both import; the second is left in review for a person, BK-107). bill_payment imports and names the open bill of exactly that amount the bank row would pay (the match is made after import). suspected_duplicate has no bank id and looks like a row already booked from a feed or another file: it is booked for a person to decide, never dropped. already_booked repeats a booked row (its bank id, or the same file again) and is skipped. counts.toImport counts new rows and bill payments. People only: the service token is refused.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
The "deposit to" account rows will post against. May be an integration_account id (Mercury/Ramp/Plaid), a bank_account id (legacy/manual), or a gl_account id (direct Chart-of-Accounts selection, e.g. Undeposited Funds); resolved server-side to a concrete GL account.
Concrete legal entity that owns the import. Required for direct GL-account imports; when the selected account is connected, this value must match its immutable entity owner.
Optional client-generated hash of the raw CSV content. Kept for tracing in raw payloads only; it does not scope row-level dedup.
Response
Every row's class
PG-p08-017 CSV import preview.
Changes
- info
endpoint added
- info