List the fund movements of a budget
The budget's funds history: who moved its funds in or out, how much, from or to where and why. Newest first (created_at desc, then id desc). Closed budgets still return their history.
Access
- Admin / budgets_manage users and Cardda staff.
- Members of the budget: its manager ("Encargado"), a co-manager or a participant, explicit or by holding one of its non-canceled cards.
Someone who sees the budget only because it's open to the company (access: company) gets 401. A budget outside the caller's scope returns 404 Not Found.
Pagination
_start/_end paginate (25 rows by default), with Content-Range and X-Total-Count in the response. There is no _field/_order sorting.
What it holds
The history starts when this endpoint was released; older movements are not backfilled. Assigning or unassigning loaded prepaid cards, period renewals and the budget's creation are not recorded, so the rows don't add up to allocated_amount_cents.
Request
- Base URLhttps://api.cardda.com
- URLhttps://api.cardda.com/v1/budgets/{id}/fund_movements
- AuthHTTP bearer
Path parameters
The UUID of the balance group (budget).
Parameters
Response
The budget's fund movements, newest first.
Example response
[
{
"kind": "top_up",
"direction": "in",
"amount_cents": 500000,
"counterpart": {
"name": "Marketing"
},
"reason": "Evento de fin de año",
"author": {
"id": "1234",
"name": "María Pérez"
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.