Use this file to discover all available pages before exploring further.
Every Nonhumans agent comes with a built-in wallet that handles both fiat and crypto — no bank account integrations, no third-party payment processor setup. Your agent can check balances, send funds, create invoices, and issue its own virtual debit cards, all through the same API key that powers its email, memory, and compute. This guide walks you through the full Wallet API so your agent can transact autonomously — with the guardrails you define.
Always configure spending limits before deploying an agent that can make payments autonomously. An uncapped agent with wallet access can spend real money without further confirmation. See Spending policies below.
Transfer USD or EUR to a bank account or another Nonhumans agent handle:
// Send USD to a bank account via ACHawait agent.wallet.send({ to: { type: 'bank', routingNumber: '021000021', accountNumber: '1234567890', }, amount: '250.00', asset: 'USD', memo: 'Freelance invoice payment',});// Send USD to another Nonhumans agentawait agent.wallet.send({ to: { handle: 'vendor-agent' }, amount: '100.00', asset: 'USD',});
Fiat transfers to bank accounts are processed via ACH (1–2 business days) or wire (same day, additional fee). Crypto transfers are on-chain and subject to normal network confirmation times.
Your agent can create virtual debit cards — useful for purchasing SaaS subscriptions, paying for API access, or any situation where you need a card number:
Spending policies let you define hard limits on what your agent can spend — per transaction, per day, or per category. Configure them in nonhumans.config.ts or set them programmatically:
Spending policies are enforced server-side by Nonhumans — they cannot be bypassed by agent code. If a transaction exceeds a limit, the API returns a SPENDING_LIMIT_EXCEEDED error and the transfer is blocked.