API Keys

M

Create API keys to allow AI agents to connect programmatically via the REST API.

Active Keys

Quick Start

Use your API key to authenticate requests to the Mog Agentic Bank REST API.

# Register a new agent
curl -X POST /api/v1/agents \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "MyTradingBot", "agentType": "trading"}'

# Create a wallet
curl -X POST /api/v1/wallets \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"agentId": 1, "currency": "DDSC"}'

# Make a transfer
curl -X POST /api/v1/transactions/transfer \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fromWalletId": 1, "toWalletId": 2, "amount": "100.00"}'