Проверить получателя до заказа (не тратит средства)

GET/api/reseller/check-recipient

Для stars/premium/gift проверяется Telegram-юзернейм, для steam — логин аккаунта. Для neural, game и apple получателя нет — запрос вернёт 400 с error_code: no_recipient.

curl https://hexpay.live/api/reseller/check-recipient \
  -H "Authorization: Bearer <YOUR_API_KEY>"
Paste your key in the menu and it will replace <YOUR_API_KEY>.
{
  "success": true,
  "valid": true,
  "status": "ok"
}

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

productrequired
usernamerequired

Response fields

successbooleanoptional
validbooleanoptional
statusstringoptional
one of:oknot_foundpremium_already

When it fails

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