create the account boundary
Provision
Create one wallet for an agent and receive the credential that authorizes later wallet operations.
curl -X POST https://agentkit-2.polsia.app/api/wallets \
-H "Content-Type: application/json" \
-d '{
"agent_id": "my-agent-001",
"spending_limit_cents": 50000,
"initial_balance_cents": 10000,
"allowed_providers": ["openai", "anthropic"]
}'{
"wallet": null,
"available_cents": 0,
"reservation": null
}{
"wallet_id": 12,
"agent_id": "my-agent-001",
"spending_limit_cents": 50000,
"current_balance_cents": 10000,
"reserved_balance_cents": 0,
"available_cents": 10000,
"status": "active",
"allowed_providers": [
"openai",
"anthropic"
],
"api_key": "ak_live_0123456789abcdef0123456789abcdef"
}Need provisioning without an issued key? Compare the no-key v1 alternative at Provision a wallet (v1).
API reference: Create a wallet →