Transactions
Create a manual transaction
Changed onpost/companies/{companyId}/transactions
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
companyId, string uuid required
Request body
Create Transaction Input required
entityId, string uuid required
occurredOn, string date required
description, string required
merchant, string
amountCents, integer required
currency, string required
direction, 'in' | 'out' required
categoryGlAccountId, string uuid
bankAccountId, string uuid
notes, string
confirmDuplicate, boolean
Record this row even though an identical manual transaction was created in the last 60 s (the 409 TRANSACTION_DUPLICATE_MANUAL_CREATE case). The new row's metadata.manual_duplicate_confirmed_of names the earlier row.
Example request
{
"occurredOn": "2024-01-15"
}Response
Transaction created
Transaction Response required
success, boolean
data, Transaction
Changes
- info
added the optional property
data/journalEntryto the response with the status
- info