Kora Budget
AI-generatedSummary
Checks the remaining budget for a specific mandate, returning limits, spent amounts, status, and whether further spending is permitted.
Inputs
- mandateId (required) — The mandate to check budget for.
Output shape
A single record for each input item containing daily and monthly budget breakdowns, currency, and spend permissions.
The node iterates over all input items. If a mandate ID is invalid or the mandate is not active, the node throws an error.
Examples
Example 1: Validate a mandate before triggering a payment node
Configure the Kora Budget node with a valid mandate ID. If the returned status is 'active' and 'can_spend' is true, proceed to the next node.