create_card
Mint a virtual card funded from the wallet, with Sentinel enforcing spend policies and agent attribution.
Instructions
Mint a new virtual card funded from the wallet. [Sentinel: policy-enforced; may return status denied_by_sentinel or approval_required_by_sentinel with a machine-readable reason chain.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| task_id | No | [Sentinel] Task identifier threaded into the spend ledger. | |
| agent_id | No | [Sentinel] Agent identity this spend is attributed to. | |
| expires_at | No | ||
| amount_cents | Yes | ||
| scope_preset | No | ||
| merchant_hint | No | [Sentinel] Intended merchant for this card, checked against the merchant allow/deny policy. create_card itself has no merchant argument, so this is the only pre-spend merchant control. | |
| sentinel_approved | No | [Sentinel] Set true to resolve a NEEDS_APPROVAL hold (a human approved the spend). Never bypasses a DENY. |