Issue a mandate
mandare_issue_mandateIssue a signed mandate to set spend caps, approval thresholds, and validity for an agent, returning the file path to point your gateway at.
Instructions
Issue an owner-signed mandate (SD-JWT VC) for an agent: spend caps in WHOLE currency units (per transaction / day / task / total), optional human-approval threshold, validity window. The mandate file path is returned; point the gateway at it (MANDARE_MANDATE_PATH).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| per_tx | No | Max per single call/transaction, whole currency units | |
| per_day | No | ||
| purpose | No | ||
| currency | No | ||
| per_task | No | ||
| agent_did | Yes | The agent's did:key (from mandare_issue_passport) | |
| valid_hours | No | ||
| approval_above | No | Spends above this wait for an async human approval |