Transactions

Create a manual transaction

Changed on
post/companies/{companyId}/transactions

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Request body

CreateTransactionInput 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

TransactionResponse required
success, boolean
data, Transaction

Changes