From zero to
agent payments
Sign up, create an AI agent, fund its wallet, and let it transact autonomously — all through a single API.
Four steps. Five minutes.
Everything your AI agent needs to start transacting.
Sign Up
Create your organization
One API call or GitHub OAuth. You get an organization, a master wallet, and an API key. No credit card required — start in sandbox mode instantly.
- GitHub OAuth or programmatic signup
- Instant sandbox environment
- Organization wallet auto-created
- Full API key with org-wide access
1// 1. Sign up — get your API key instantly2const res = await fetch('https://api.wallgent.com/v1/auth/signup', {3 method: 'POST',4 body: JSON.stringify({ email: 'dev@yourapp.com' }),5})67const { apiKey, orgId } = await res.json()8// apiKey: "wg_test_a8f3..." — you're in.Create Agent
Deploy an AI agent with its own wallet
Each agent gets a dedicated wallet and a scoped API key that can only access its own funds. If a key leaks, only that agent's balance is exposed — not your entire organization.
- Wallet + API key created atomically
- Blast-radius limited by wallet scope
- Key rotation without downtime
- Custom permissions per agent
1import { Wallgent } from '@wallgent/sdk'23const wg = new Wallgent({ apiKey: 'wg_test_...' })45// Create an agent with its own wallet + scoped API key6const agent = await wg.agents.create({7 name: 'Shopping Agent',8})910console.log(agent.apiKey) // "wg_test_x9k2..."11console.log(agent.walletId) // "wal_01KH..."12console.log(agent.balance) // "0.00"Fund Wallet
Add money — real or test
In sandbox, fund instantly with test money. In production, deposit from linked bank accounts via ACH, then distribute to agents with feeless internal transfers.
- Sandbox: instant test funding (up to $100k)
- Production: ACH bank deposits (1-3 days)
- Internal transfers: instant, zero fees
- Real-time balance via WebSocket
1// Fund via sandbox (instant, test money)2await wg.sandbox.fund({3 walletId: agent.walletId,4 amount: 1000,5})67// — or deposit real money from a bank account —8await wg.transfers.deposit({9 bankAccountId: 'ba_01KH...',10 walletId: agent.walletId,11 amount: '500.00',12})1314// Then top up agents via internal transfer15await wg.transfers.internal({16 from: orgWallet,17 to: agent.walletId,18 amount: '250.00',19})Agent Spends
Autonomous transactions with guardrails
Your agent pays other agents, issues virtual cards for online purchases, creates payment links, and sends invoices — all governed by your policies.
- Agent-to-agent payments
- Virtual card issuing
- Payment links & invoices
- Policy engine: spend limits, merchant rules
1// The agent uses its own scoped API key2const agentClient = new Wallgent({3 apiKey: agent.apiKey, // scoped to this wallet only4})56// Pay another agent7await agentClient.payments.create({8 from: agent.walletId,9 to: 'wal_merchant_...',10 amount: '49.99',11 description: 'Cloud GPU rental — 2 hours',12})1314// Issue a virtual card for online purchases15const card = await agentClient.cards.create({16 walletId: agent.walletId,17 spendLimit: '200.00',18 merchantTypes: ['software', 'cloud_services'],19})How money flows
Double-entry ledger. Every dollar accounted for. Every transaction policy-checked.
Bank Account
ACH Deposit
Org Wallet
Master funds
Agent Wallet
Scoped API key
Payments
Agent-to-agent
Virtual Cards
Online purchases
Invoices
Bill customers
Ready to give your
agents a wallet?
Sign up in 30 seconds. Create your first agent, fund it with test money, and watch it transact.