Agent access
Scoped
Agents start from an authorized Solana wallet context and a scoped
Hermes policy. The policy defines allowed spend, card issue limits,
merchant scope, and approval thresholds.
Connect Solana wallet through Reown
GET /api/transactions
Agent request
Example
POST /api/agent-card-issue
Authorization: Bearer hb_agent_...
Idempotency-Key: mission_7fc2_compute_001
{
"agentId": "research-agent-04",
"mission": "buy dataset access",
"cardType": "Hermes Prepaid Visa",
"country": "US",
"amount": 25,
"recipientEmail": "agent@example.com",
"policy": {
"merchantScope": ["data", "api"],
"expiresIn": "24h",
"approvalAbove": 25
}
}
Response shell
Manual pending
{
"cardId": "req_01J...",
"status": "PENDING_MANUAL",
"amount": 25,
"currency": "USD",
"recipient": "research-agent-04",
"recipientEmail": "agent@example.com",
"delivery": {
"type": "manual_email",
"instructions": "Manual delivery pending"
},
"ledger": {
"requestStatus": "PENDING",
"reviewStatus": "MANUAL"
}
}