{ "opencollection": "1.0.0", "info": { "name": "Embat AccountingAccounts Balances API", "version": "2.120.3" }, "items": [ { "info": { "name": "Balances", "type": "folder" }, "items": [ { "info": { "name": "List balances", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/balances/:companyId", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "productId", "value": "", "type": "query", "description": "Filter balances of a single bank product (account) by its Embat product ID." }, { "name": "startDate", "value": "", "type": "query", "description": "Only return balances dated on or after this date (inclusive). The range cannot exceed 90 days: if `endDate` is also given, the span between the two cannot exceed 90 days; if `endDate` is omitted, `startDate` cannot be more than 90 days in the past." }, { "name": "endDate", "value": "", "type": "query", "description": "Only return balances dated before this date (exclusive). Combined with `startDate`, the range cannot exceed 90 days. If used without `startDate`, results start 90 days before this date." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of objects to return in the response. Default 500, maximum 5000." }, { "name": "nextPageToken", "value": "", "type": "query", "description": "Token to fetch the next page of results, taken from the `nextPageToken` returned by the previous request with the same filters. Omit it to fetch the first page." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns the end-of-day balances of a company's bank products (accounts), one entry per product per day. Results are paginated: use `limit` to control page size and pass the returned `nextPageToken` to fetch the next page. `startDate`/`endDate` filter by balance date; `startDate` is inclusive and `endDate` is exclusive, and when only one bound is given the range is capped at 90 days. If neither is given, all available balances are returned, paginated. Balances whose linked bank product no longer " }, { "info": { "name": "Retrieve balance", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/balances/:companyId/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "companyId", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a single balance by its Embat `id`." } ] } ], "bundled": true }