POST
/api/agent-merchant/payment/qr-calculate
POST
/api/agent-merchant/payment/qr-generate
π Authentication Required (Bearer Token)
π Request Body Parameters:
amount
number
Required
Payment amount in the merchantβs account currency (country / fiat code from profile, e.g. MYR, THB)βnot the crypto token.
currency
string
Optional
On-chain settlement token symbol (USDT, USDC, DAI, β¦) for the selected network. Not your MYR/THB code. Use
asset_id when two contracts share a symbol.
type
string
Optional
QR type: "custom" or "fixed"
network
string
Optional
"bsc", "polygon", or "tron". Default: bsc. On-chain token comes from
asset_id or the settlement-token currency field.
asset_id
string
Optional
Stable id from
GET /api/agent-merchant/payment/supported-assets
Generate Payment QR Code
GET
/api/agent-merchant/payment/history
π Authentication Required (Bearer Token)
π Query Parameters:
status
string
Optional
Filter by status (pending, completed, failed)
start_date
string
Optional
Start date (YYYY-MM-DD)
end_date
string
Optional
End date (YYYY-MM-DD)
Payment History
GET
/api/agent-merchant/payment/statistics
π Authentication Required (Bearer Token)
No parameters - Returns payment statistics (total received, fees, net income, counts)
Payment Statistics
POST
/api/agent-merchant/payment/transfer
π Authentication Required (Bearer Token)
π Request Body Parameters:
amount
number
Required
Transfer amount
currency
string
Optional
Currency (default: USDT)
to_address
string
Required
Recipient wallet address
description
string
Optional
Transfer description