📊 Merchant Dashboard

Business Overview & Statistics

GET /api/agent-merchant/dashboard

🔐 Authentication Required (Bearer Token)

No parameters - Returns merchant dashboard with today's total, month total, total received, and recent payments

Dashboard Overview

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

🔐 Authentication Required (Bearer Token)

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

Merchant Profile

GET /api/agent-merchant/dashboard/statistics

🔐 Authentication Required (Bearer Token)

No parameters - Returns 7D and 30D statistics

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