/api/reseller/deposit/providersС параметром amount дополнительно вернёт комиссию и итог к оплате по каждому способу — чтобы показать их покупателю до создания счёта.
curl https://hexpay.live/api/reseller/deposit/providers \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"min_rub": 50,
"max_rub": 50000,
"providers": [
{
"code": "lava",
"name": "СБП",
"fee_rub": 0,
"total_rub": 5000
}
]
}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.
amountoptionalsuccessbooleanoptionalmin_rubnumberoptionalmax_rubnumberoptionalprovidersobject[]optional401—curl https://hexpay.live/api/reseller/deposit/providers \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"min_rub": 50,
"max_rub": 50000,
"providers": [
{
"code": "lava",
"name": "СБП",
"fee_rub": 0,
"total_rub": 5000
}
]
}