v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
Transactions

Create manual transactions in bulk

Creates transactions for a company's product in a single call, grouped by day. Returns an empty response with status 201 on success.

Manual products only. This endpoint only works with products classified as "Manual". Using it with a productId that exists but is not classified as Manual returns a 400 Bad Request error. If productId does not exist, or its associated bank record does not exist, a 404 is returned instead.

Mirrors the Embat website. This endpoint behaves like adding manual transactions from the Embat website: submitting transactions for a given day permanently replaces any transactions previously recorded for that same day on that product. Replaced transactions cannot be recovered.

post/transactions/{companyId}/{productId}/bulk

Path parameters

companyIdstring required
productIdstring required

Request body

Example request

{
  "data": [
    {
      "concept": "Office supplies",
      "amount": -350
    }
  ]
}

Response

Successful Response

{"stackTrail":"paths:/transactions/{companyId}/{productId}/bulk:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}