add_allowlist_entry
Add an allowlist entry to permit a host or payee with a spend cap. Set kind to 'api' for hostname or 'vendor' for wallet address, and specify limit_raw in USDC.
Instructions
Add a merchant-allowlist entry — an allowed-AND-capped policy row. Use kind="api" to allowlist a host (match_key = hostname) or kind="vendor" to allowlist a payee (match_key = recipient wallet). limit_raw caps spend against this entry (raw USDC, 6 decimals). Enforcement only kicks in once set_allowlist_mode is host/vendor/both. Requires an agent key (floe_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | "api" for a host entry (match_key = hostname) or "vendor" for a payee entry (match_key = recipient wallet address). | |
| limit_raw | Yes | Spend cap in raw USDC units (6 decimals), positive. e.g. "1000000" = $1. | |
| match_key | Yes | Host (for kind="api") or payee wallet address (for kind="vendor"). | |
| match_kind | No | Optional matcher: host_exact | host_suffix (api) or recipient (vendor). Defaults server-side. |