File an Inbox item (#4356)
Changed onPenny (the bookkeeping service token) or a signed-in accountant files one item for a person to decide. The filer must have access to customerId (403 otherwise); only card ask_which_client may omit it. A card belongs to one family (ask_which_client → onboarding_confirm, payroll_journal_missing → clearing_old, receipt_with_no_bank_row → categorize, bank_reconnect → plaid_reconnect, statement_not_in_yet → close_blocker, trust_ledger_violation → close_blocker: a trust ledger overdrawn or firm money above the allowance, one per trust account, code, ledger and date, filed the same firm day by the trust reconciliation (T2/T3)) and its typePayload carries exactly that card's fields (a receipt_with_no_bank_row may name who sent the receipt in as forwarder: { userId, name, email }, a name or an address at least, PG-p03-021); an item without a card takes any JSON object up to 16 KB. Idempotent per sourceKey: 201 when this call filed it, 200 with the item already filed. A key already filed for a client the caller cannot see answers 409 INBOX_SOURCE_KEY_IN_USE. An invalid body, pairing or payload answers 400 INBOX_INVALID_REQUEST.
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Request body
The row label of wireframe page 3.
The one action that closes the item (Jacob, P6).
The close step it blocks (for example B1), or null for none.
When the wait began (the source's own time); defaults to now. Every age reads it.
Per-card fields (see the description); at most 16 KB. proposal ({action: categorize, transactionId, categoryGlAccountId}) is Penny's proposal: approving the item posts it as the person who approved.
Response
The item already filed under this source key
An accountant Inbox item (#4356). status is as the caller sees it.
Changes
- info
endpoint added
- info