Budgets5
Set aside part of a wallet's balance for one mandate or one agent. A budget is an earmark kept by Skerry: nothing moves at the provider. An operation under a budgeted mandate, or by a budgeted agent, may only spend from its budget, and every other caller may only spend what is not set aside. Amounts are integer minor units of the budget's currency.
- Customers budgets listget/customers/{id}/budgets
- Set aside an amount of a wallet's balance for a mandate or an agentpost/customers/{id}/budgets
- One budget, with what was spent from it and what remainsget/customers/{id}/budgets/{budget_id}
- Add to a budgetpost/customers/{id}/budgets/{budget_id}/top-up
- Release a budget: what was not spent is free for other callers againpost/customers/{id}/budgets/{budget_id}/release