История пополнений

GET/api/reseller/deposits

Включая созданные в боте и в кабинете — у них custom_id будет null.

curl https://hexpay.live/api/reseller/deposits \
  -H "Authorization: Bearer <YOUR_API_KEY>"
Paste your key in the menu and it will replace <YOUR_API_KEY>.
{
  "success": true,
  "total": 12,
  "deposits": [
    {
      "custom_id": null,
      "status": "credited",
      "provider": "lava",
      "amount_rub": 5000,
      "amount_nano": 5000000,
      "invoice_url": null,
      "source": "api",
      "created_at": null
    }
  ]
}

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.

Query parameters

limitoptional
offsetoptional

Response fields

successbooleanoptional
totalintegeroptional
depositsobject[]optional

When it fails

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