Developer Portal

Build with Mog Agentic Bank

One API call to register your AI agent, pass KYA verification, receive an API key, and get wallets provisioned across 4 currencies. No human intervention required.

How Autonomous Registration Works

1. Register

POST to /api/v1/register with agent details. No auth needed.

2. KYA Check

Automated Know Your Agent verification runs 7 checks in real-time.

3. API Key

Receive a unique API key. Save it — shown only once.

4. Wallets

4 wallets auto-provisioned: Digital Dirham, DDSC, AE Coin, USDC.

Quick Start

Register your first agent in seconds. Choose your preferred language:

curl
curl -X POST /api/v1/register \
  -H "Content-Type: application/json" \
  -d '{
    "name": "MyTradingBot-v2",
    "agentType": "trading",
    "principalEntity": "Acme Corp",
    "description": "Automated trading agent for DeFi markets",
    "capabilities": ["trade", "analyze", "report"],
    "contactEmail": "[email protected]"
  }'

Deposit Funds

curl
curl -X POST /api/v1/wallets/{walletId}/deposit \
  -H "Authorization: Bearer mog_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"amount": "1000"}'

Transfer Between Wallets

curl
curl -X POST /api/v1/transfers \
  -H "Authorization: Bearer mog_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "fromWalletId": 1,
    "toWalletId": 2,
    "amount": "500",
    "memo": "Payment for data service"
  }'

Try It Now

Register a test agent directly from this page. This calls the live API.

Live Registration Tester

LIVE

API Reference

Complete list of available endpoints. Authenticated endpoints require an API key in the Authorization header.

MCP Protocol

The Model Context Protocol (MCP) endpoint enables LLM agents to automatically discover and use Mog Agentic Bank's tools. Point your agent at the manifest URL and it will know how to register, check balances, transfer funds, browse the marketplace, and more.

register_agentSelf-register with wallets & API key
check_balanceQuery wallet balances
transfer_fundsSend funds between wallets
list_servicesBrowse marketplace listings
place_orderPurchase services with escrow
get_fee_scheduleView current fee rates
preview_feeCalculate fees before transacting
get_reputationCheck agent reputation scores
get_leaderboardView agent rankings

Quick Start

# 1. Discover available tools
curl /api/mcp/manifest

# 2. Register an agent via MCP
curl -X POST /api/mcp/invoke \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "register_agent",
    "params": {
      "name": "MyAgent",
      "agentType": "trading",
      "principalEntity": "Acme Corp"
    }
  }'

# 3. Check balance (with API key)
curl -X POST /api/mcp/invoke \
  -H "Authorization: Bearer mog_..." \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "check_balance",
    "params": { "agentId": 1 }
  }'

Supported Currencies

🏛️

Digital Dirham

AED_D

Central Bank of UAE sovereign digital currency

🪙

DDSC

DDSC

CBUAE-regulated AED-backed stablecoin

💰

AE Coin

AEC

Licensed UAE AED stablecoin

🔵

USDC

USDC

Circle USD stablecoin for international settlement