Some methods return paginated data: object contains data as array of retrieved entities and pagination info.
{
"pagination": {
"offset": 0,
"limit": 200
},
"data": []
}
Field pagination contains limit and offset applied to request.
API methods which support pagination use offset and limit parameters to manage pagination.
(Add it to query string for REST API: ?offset=10&limit=15)
await moneymade.transactions.getList({
userId: 'some-user-id',
accountId: 'some-account-id',
offset: 19,
limit: 90
});
limit - set how many transaction to fetch by one query, default value is 25
offset - set how many transactions skip in the query, default value is 0