/api/reseller/depositsВключая созданные в боте и в кабинете — у них custom_id будет null.
curl https://hexpay.live/api/reseller/deposits \
-H "Authorization: Bearer <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
}
]
}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.
limitoptionaloffsetoptionalsuccessbooleanoptionaltotalintegeroptionaldepositsobject[]optional401—curl https://hexpay.live/api/reseller/deposits \
-H "Authorization: Bearer <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
}
]
}