Does this spend fit the budget my principal set?
robyn_mandate_checkCheck a proposed spend against a signed spending mandate BEFORE making it. Returns WITHIN_MANDATE, EXCEEDS_MANDATE or EXPIRED plus the remaining budget. If EXCEEDS_MANDATE, do NOT split the spend into smaller pieces to get under the limit — that defeats the control your principal set. Ask them to raise the budget. NOTE THE SCOPE: a mandate covers spending THROUGH ROBYN only. It is not custody and does not stop spending elsewhere with the same key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | proposed spend in base units | |
| mandateId | Yes | the mandate digest |