📊 Agent Dashboard

Team Overview & Statistics

GET /api/agent-merchant/dashboard

🔐 Authentication Required (Bearer Token)

No parameters - Returns agent dashboard with team counts, bonuses, and recent members

Dashboard Overview

GET /api/agent-merchant/profile PUT /api/agent-merchant/profile

🔐 Authentication Required (Bearer Token)

GET: No parameters - Returns agent profile information
PUT: Request body with optional fields: username, email, first_name, last_name, phone

Agent Profile

PUT /api/agent-merchant/profile

🔐 Authentication Required (Bearer Token)

📋 Request Body Parameters:

email string Required New email address

Update Email

GET /api/agent-merchant/dashboard/statistics

🔐 Authentication Required (Bearer Token)

No parameters - Returns bonus statistics (7D, 30D)

Statistics

GET /api/agent-merchant/bonus/total POST /api/agent-merchant/bonus/claim

🔐 Authentication Required (Bearer Token)

GET /total: Returns total available bonus
POST /claim: Request body: {"amount": 10.0} - Claims specified amount of bonus

Bonus Management

Available Bonus: - USDT

Claim Bonus

GET /api/agent-merchant/currencies

🔐 Authentication Required (Bearer Token)

No parameters - Returns list of all currencies with rate, name, and status

Currencies