Баланс депозита

GET/api/reseller/balance
curl https://hexpay.live/api/reseller/balance \
  -H "Authorization: Bearer <YOUR_API_KEY>"
Paste your key in the menu and it will replace <YOUR_API_KEY>.
{
  "success": true,
  "balance_nano": 500000,
  "balance_rub": 500
}

Authorization

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.

Response fields

successbooleanoptional
balance_nanointegeroptional

баланс в nano (1₽ = 1000)

balance_rubnumberoptional

When it fails

401
429
Собираем анонимную аналитику посещений. Подробнее