/api/reseller/statscurl https://hexpay.live/api/reseller/stats \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"by_product": [
{
"product": "stars",
"count": 128,
"charged_nano": 4812400
}
],
"by_error": [
{
"error_code": "recipient_invalid",
"count": 4
}
],
"totals": {
"delivered": {
"count": 42,
"charged_nano": 5540000
},
"failed": {
"count": 1,
"charged_nano": 0
}
},
"daily_delivered": [
{
"date": "2026-07-21",
"delivered_count": 5,
"delivered_nano": 660000
}
]
}Header Authorization: Bearer <key> on every request. The key is issued in the cabinet and shown once. It spends your deposit: keep it on the server.
successbooleanoptionalby_productobject[]optionalразрез доставленных заказов по товарам за период
by_errorobject[]optionalпочему падали заказы за период — ветвитесь по error_code
totalsobjectoptionalагрегаты по статусам (count + сумма списаний в nano)
daily_deliveredobject[]optionalдоставки за 30 дней по дням
401—curl https://hexpay.live/api/reseller/stats \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"by_product": [
{
"product": "stars",
"count": 128,
"charged_nano": 4812400
}
],
"by_error": [
{
"error_code": "recipient_invalid",
"count": 4
}
],
"totals": {
"delivered": {
"count": 42,
"charged_nano": 5540000
},
"failed": {
"count": 1,
"charged_nano": 0
}
},
"daily_delivered": [
{
"date": "2026-07-21",
"delivered_count": 5,
"delivered_nano": 660000
}
]
}