Approvals: ask a human
approval_requestAsk a human to approve (or deny) an action. Returns approve_url for them: they read the request and sign with their wallet (free, no transaction). Your agent then calls approval_wait, or watches your live channel for approval.approved. Only the named wallet can decide; your API key can only cancel. Requires the organization API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payee | No | Payee address or domain, if money is involved | |
| ttl_s | No | Seconds the request stays open (60-86400) | |
| action | Yes | Plain-English action the human is approving, e.g. 'Wire 4,800 USDC to Acme for invoice 1042' | |
| reason | No | Why the agent wants to do this | |
| reference | No | Invoice or order reference | |
| stream_id | Yes | The agent asking | |
| mandate_id | No | mdt_... : the mandate's principal decides | |
| amount_usdc | No | Amount, if money is involved | |
| approver_wallet | No | 0x wallet of the human who decides (if no mandate_id) |