Skip to main content
Budgets are optional. Once an agent has one approved budget, its wallet, x402, MPP, and agent-to-agent payments need an active budget. When it expires or runs out, request a new one. Both the budget and policies must pass. Connected card draws and checkout checkpoints do not use budget requests. A shared budget can limit those.

How it works

1

The agent requests a budget

The agent calls request_budget with an amount and a purpose. The request appears in the dashboard’s Inbox and raises an alert, which emails the organization’s owners.
2

A person approves or declines

The reviewer can adjust the amount before approving. The agent calls get_budget_request to check whether it was approved.
3

The agent pays as usual

Standard payment requests, x402 pre-authorizations, and MPP pre-authorizations are all checked against the budget. Spend is deducted after each payment executes.
4

The budget runs out

Once the budget is spent, further payments are blocked. The dashboard shows spend progress.

Lifecycle

Each agent can have one active request at a time. Creating another while one is active returns HTTP 409.

REST API

Call these endpoints with the agent’s SDK key. Creating a request needs payments:request, and reading requests needs wallets:read. The TypeScript SDK has no budget request methods.

Create a budget request

Parameters: Response (201):
Error (409), active request already exists:

Check budget request status

Query parameters: Response (200):

MCP tools

request_budget takes the same amount, purpose, and category as the create endpoint. get_budget_request takes the same optional requestId and status filters as the status endpoint and returns the same requests plus the active budget summary.

Payment flow integration

Once an agent has had a budget approved, these calls check it. Before money moves (blocking):
  • payments/request: before policy evaluation
  • payments/approve: for external wallet payments
  • x402/pre-authorize and x402/pay: before issuing a grant
  • mpp/pre-authorize: before issuing a grant
  • a2a/requests/{id}/approve and /execute: for the paying agent
Post-execution (decrement):
  • payments/execute: holds the amount against the budget before sending and records it as spend when the payment succeeds
  • x402/record: decrements budget when recording x402 payments
  • mpp/record: decrements budget when recording MPP payments
  • payments/confirm: decrements budget when confirming a self-custody payment
In-flight managed payments hold budget until they settle or fail. remaining subtracts those holds and spent counts recorded spend. A failed onchain transfer returns its amount to the budget. A transfer whose outcome is unknown keeps its hold until someone resolves it. Live x402 and MPP grants, unconfirmed self-custody approvals, and claimed agent-to-agent payments also count against the budget when Conto checks the next payment, though remaining does not subtract them. A grant’s payment is always recorded. One that settles over the budget marks it used and raises an alert. An approved budget is in USDC. It covers USDC, USDC.e, USDT, and pathUSD at par, so it also covers payments on Tempo. Other currencies do not convert. payments/execute refuses them with BUDGET_CURRENCY_MISMATCH, and a recorded payment in another currency is kept, is not charged to the budget, and raises an alert for a person to review. If a payment would exceed the remaining budget, x402 and MPP pre-authorization return the response below. payments/request returns HTTP 403 with code: "PAYMENT_DENIED", and payments/approve returns approved: false with reasonCodes: ["BUDGET_INSUFFICIENT"].

Dashboard

In Inbox → Needs decision, review the agent, purpose, amount, and category, then approve or reject. Enter a different amount before approving if needed. Approved requests show spend, remaining allowance, and expiry. Closed requests show whether they were declined, expired, or used.

Audit trail

Budget requests, review decisions, spend, and expiry are recorded in the organization’s audit history using the same labels shown in the dashboard.

Example: agent workflow

Save the request ID after creation. This helper waits up to one minute for review. If it returns null, resume later with the same ID instead of creating another request.
After approval, request a payment with a saved idempotency key. Budget approval does not execute a payment or prove settlement.