What is a policy?
A policy is a set of rules that decides whether a payment can proceed. Every applicable policy must pass, and the payment gets one of three outcomes:
To inspect policy events for a single agent, use
conto audit list with an audit-only SDK key.
How policies are evaluated covers scope, evaluation order, and how rules
combine. The policy rule reference lists every rule type.
Starter guardrails for new organizations
New human organizations start with two active starter policies:- Starter guardrails:
$25maximum per transaction and$100maximum per day - Starter approval threshold: payments above
$10require explicit approval
Policy types
The policy type groups rules in the dashboard and picks which fields the form shows. The engine reads only the rules. Rules by topic:- Spend limits: per-payment, daily, weekly, and monthly caps
- Time windows: allowed hours and days, and blackout periods
- Counterparties: recipient allowlists, blocklists, and trust rules
- Policy rule reference: every rule type, including identity, category, geographic, contract, budget, x402, and MPP rules
Creating policies
Via dashboard
1
Open the form
Go to Policies > Create policy.
2
Configure the policy
3
Add rules
Set the rule values for the chosen type.
4
Choose the agents if needed
For Specific agents, choose them in the same form. To assign a policy to a wallet or card,
use the API.
Via API
Policy properties
Assigning policies
Assign a policy to specific agents, wallets, or cards. Only policies withscope: "assigned" can be
assigned. Organization policies apply automatically, and team policies apply to every agent in the
team.
Organization, team and agent policies
Every policy that reaches an agent applies, and every rule must pass. Organization policies cover every agent. Team policies cover the agents in one team. Policies assigned to an agent cover that agent. A team or agent policy can only add limits to the organization’s. An agent belongs to at most one team. Its payments record the team’s slug as their department, so a department budget matches the team whatever label the agent sends.Assign to agent
Recommended setup
Keep the starter guardrails ($25 per payment, $100 per day, review above $10) until the agent has a track record. Then raise limits by giving each agent its own policies, in this order. Create each policy with"scope": "assigned" and the agent’s ID, or assign it on the agent’s Policies
tab. The starter policies still apply until you edit or unassign them, because every applicable
policy must pass. The numbers below are an example for a payments agent and a separate API agent.
- Cap spend.
MAX_AMOUNT50 andDAILY_LIMIT200 deny any payment over $50 and any payment that would take the day's spend over $200. See Spend limits. - Send the middle band to review.
REQUIRE_APPROVAL_ABOVE25 holds payments over $25, up to $50, on the Needs decision tab of Inbox for a person to review. The agent getsREQUIRES_APPROVALand can poll or use webhooks to check status. Keep the threshold belowMAX_AMOUNT: smaller payments go through, the middle band waits for review, and larger payments are denied. See Approval workflows. - Limit recipients.
ALLOWED_COUNTERPARTIESpays only the addresses you list. To allow every recipient except known bad ones, useBLOCKED_COUNTERPARTIESinstead. To also deny payees whose network score drops below 0.5, addTRUST_SCOREGTE0.5. It still allows new payees. See Counterparty policies. - Limit hours.
TIME_WINDOW09:00 to 18:00 andDAY_OF_WEEKMon to Fri deny overnight and weekend payments. The dashboard form sets each rule’stimezonefrom its Timezone field, which starts at your browser’s zone. Over the API, puttimezonein the rule value, or the rule runs in UTC. AddBLACKOUT_PERIODfor holidays and maintenance windows. See Time windows. - Give x402 spend its own agent. If the agent pays for APIs with
x402, assign x402 rules only to a separate API agent, because they
apply to every payment of the agents they cover.
X402_MAX_PER_REQUEST0.10 andX402_MAX_PER_SERVICE{"maxAmount": 20}cap each call at $0.10 and each service at $20 over a rolling 24 hours.X402_ALLOWED_SERVICESpays only the domains you list. See x402 protocol rules. - Email owners about serious alerts. Conto raises alerts in Inbox automatically, including policy violations and x402 anomalies. In Inbox, select Configure alerts, turn on Email owners about high-severity alerts, and set Severity to email to High and critical or Critical only. Lower severities stay in the dashboard.
- Verify before you go live. Call
GET /api/sdk/setupwith the agent’s SDK key and check that the payment-control summary reflects the policies you assigned. Then test allow, review, and deny.
Denial explanations
When a payment is denied, the response includes a plain-language reason that can be shown to an operator or end user:No usable wallet is linked to this agent. or
This payee needs review before payments to it can proceed automatically. They never include rule
values or policy names. See payment reasons.
An authorized operator can review the configured controls in the dashboard’s policy and wallet
views. Dashboard alerts for a denied payment show the full evaluation reason.
Test a policy before you enable it
When creating or editing a policy, expand Try before saving. It uses the rules currently in the form, including unsaved changes.- Enter sample payments with amounts, recipients, categories, and spend so far. Choose Test payments to see which these rules would allow, block, or hold for approval.
- Choose Check recent payments to compare the rules with your last 100 payments. The result shows how many would change from allowed to blocked or held.
- Review the results, then save the policy when you are ready to apply it. Testing saves nothing and affects no payment. Other assigned policies still apply to actual payments.
Replay recent payments through the API
POST /api/policies/simulate replays a candidate policy against your real recent transactions and
reports what it would have decided. It creates no policy, runs no approval, and moves no money. Use
it to see which currently allowed payments a new limit would block before you turn it on.
sampleSize takes 1 to 500 of the most recent transactions (default 100). Add agentId to replay
one agent’s transactions, and from and to (ISO timestamps) to bound the window.
Each entry in results has a wouldBe decision (ALLOW, DENY, or REQUIRE_APPROVAL), the
recorded currentResult, and changed. summary counts allow, deny, requireApproval,
newlyBlocked, and newlyAllowed.
The replay checks only the candidate policy, and only rule types one transaction row decides:
MAX_AMOUNT, REQUIRE_APPROVAL_ABOVE, category and counterparty lists, agent environment, risk
tier, tag, and attestation, and the x402 and MPP per-request, price ceiling, and allowed and
blocked service rules. It skips every other rule type, such as period limits, budgets, velocity,
trust, country, time, and per-service or per-endpoint rules, and lists them in
summary.contextDependentRuleTypes.