Get Account Entries
Changed onQuery account entries for a specific organization. Account entries represent a single booked movement on the (bank) account of the organization. This can be a transaction, payment etc. Account entries are then grouped by statements. Please note that account entries only include finally booked movements and do not include pending transactions or similar non-final movements.
Request
- Base URLhttps://partner-api.getpliant.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The organization for which the account entries are requested.
The card account for which the account entries are requested. If not provided the default card account of the given organization is used. Account entries keep the card account id they were booked on. If a card account was superseded, filtering by the superseded id returns the entries booked before the switch and filtering by its successor (supersededBy) returns the ones booked after. Query both ids to get a complete list across the switch.
The type of the account entry to filter by.
The from date to filter by as zero-offset UTC time. The date boundary is inclusive. Meaning we compare with >=.
The to date to filter by as zero-offset UTC time. The date boundary is inclusive. Meaning we compare with <=.
The date field to filter by if fromDate and toDate are present.
The maximum number of items to return per page. The default value if not provided is 100, the maximum allowed value is 1000.
The page number to return, starting with 0, this counts up to the total number of pages. The total number of pages is determined by the total number of records divided by the limit.
The field to sort by.
The direction to sort by.
Response
Ok
Example response
{
"data": [
{
"fxFee": {
"fxFeePercentage": 2.1,
"fxFeeAmount": {
"value": 21,
"currency": "EUR"
}
}
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking