Budget request
Ask for more funds or a new budget
Creates a pending budget request and notifies whoever can approve it.
Who can ask
- more_funds ("Más fondos"): someone in the budget (its Encargado, a co-encargado, or a participant, explicit or through a card) without budgets_manage. An admin / budgets_manage user gets budget_requests/use_top_up: they adjust the budget directly, with POST /v1/budgets/{id}/top_up for a funded budget or PATCH /v1/budgets/{id}/amount for a tracking one. GET /v1/budgets/{id} says whether the caller can ask (viewer.can.request_funds) and returns their pending request (own_pending_request).
- new_budget ("Presupuesto nuevo"): any active member of the company.
Only one pending request per person and budget (more_funds) or per person and name (new_budget): another one answers budget_requests/already_pending.
post/v1/budget_requests
Request
- Base URLhttps://api.cardda.com
- URLhttps://api.cardda.com/v1/budget_requests
- AuthHTTP bearer
Parameters
#/paths/~1v1~1bills/get/parameters/0 (unresolved $ref)
Request body
Example request
{
"kind": "more_funds",
"amount_cents": 500000,
"reason": "Viaje a la feria de Santiago",
"period_scope": "current_period",
"name": "Eventos Q4",
"recurrence_every": 1
}Response
The request created, pending.
Example response
{
"kind": "more_funds",
"status": "pending",
"requested_amount_cents": 500000,
"approved_amount_cents": 400000,
"currency": "CLP",
"period_scope": "current_period",
"reason": "Viaje a la feria de Santiago",
"name": "Eventos Q4",
"origin_channel": "web"
}Changes
No recorded changes to this operation across all 1 revision of this API.