This quickstart guide walks you through the full lifecycle, registering an agent, checking your wallet, and executing your first x402 micropayment on the Arc Testnet.
{ "success": true, "challengeId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", "expiresAt": "2026-05-20T00:45:00.000Z", "message": "Verification code prepared. Complete the challenge before a token is issued."}
Save the challengeId from the response — you’ll need it in the next step.
2
Check your email
Open your inbox and find the 6-character hex code (e.g. A8F93D).
3
Complete the challenge
Submit the OTP along with the challengeId to receive your API token. On success, Aegis will:
Register the agent (if new)
Provision a Circle Developer Controlled Wallet on the Arc Network
{ "success": true, "agent": { "id": "clx1abc2d0001...", "email": "your-agent@example.com", "walletId": "85d48e9b-bd7c-5181-a980-89ae1233272e", "walletAddress": "0xc27508085e5b2128e5a14dedacb53d6525dbcbde" }, "tokenIssued": true, "token": "aegis_live_wzm79d9Jzd7LMY4T2iOoWICg1puoWkL...", "tokenExpiresAt": "2026-06-19T00:35:00.000Z", "message": "Verification succeeded. Store this token securely; it is shown only once."}
Store your token immediately! The plain token is only shown once in this response. It is cryptographically hashed in our database and cannot be retrieved again.
For details on authentication headers, idempotency, nonces, and token revocation, see the Authentication page.
The balance response returns tokens across all chains your wallet is connected to (Arc Testnet, ETH Sepolia, etc). Filter by blockchain: "ARC-TESTNET" for Arc-specific balances.