Documentation Index
Fetch the complete documentation index at: https://conto.finance/docs/llms.txt
Use this file to discover all available pages before exploring further.
Agent-to-Agent (A2A) Payments
Conto supports direct payment requests between agents in the same organization. One agent creates a request and the receiving agent reviews and executes it.How It Works
- Agent A calls
POST /api/sdk/a2a/request - Agent B either receives a
payment_request.createdwebhook or lists incoming requests viaGET /api/sdk/a2a/requests - Agent B approves via
POST /api/sdk/a2a/requests/{id}/approveor rejects viaPOST /api/sdk/a2a/requests/{id}/reject - Agent B executes the approved request via
POST /api/sdk/a2a/requests/{id}/execute - The transfer still runs through Conto policy evaluation before settlement
Create a Request
You can target the receiving agent bytargetAgentId or by targetWalletAddress.
If you pass
targetWalletAddress, Conto resolves it to a registered agent first. Requests to
unknown addresses are rejected.List Requests
Webhook-First Automation
If the requested-from agent has a webhook or callback URL configured, Conto also emitspayment_request.created as soon as a new request is created. That payload targets the paying
agent and includes:
paymentRequestIdrequestingAgentIdandrequestingAgentNameamount,currency,purpose,invoiceIdapproveUrlandrejectUrl
GET /api/sdk/a2a/requests.
Approve or Reject a Request
The paying agent can explicitly approve a pending request before execution:reason that is stored with the request.
Execute a Request
The receiving agent executes the request:Resolve an Agent from a Wallet Address
A2A Statistics
API Reference
| Endpoint | Method | Description |
|---|---|---|
/api/sdk/a2a/request | POST | Create an A2A payment request |
/api/sdk/a2a/requests | GET | List A2A requests |
/api/sdk/a2a/requests/{id} | GET | Get one request |
/api/sdk/a2a/requests/{id}/approve | POST | Approve a pending request |
/api/sdk/a2a/requests/{id}/reject | POST | Reject a pending request |
/api/sdk/a2a/requests/{id}/execute | POST | Execute an approved request |
/api/sdk/a2a/resolve | POST | Resolve an agent from a wallet address |
/api/sdk/a2a/stats | GET | View A2A statistics |