/api/v1/vpn/deposit/{custom_id}curl https://api.relayhub.surf/api/v1/vpn/deposit/<custom_id> \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"deposit": {
"custom_id": "dep-2026-09-02-1",
"deposit_id": "01a06320-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
"status": "credited",
"provider": "cryptobot",
"amount_minor": 5000,
"amount_usd": "50.00",
"amount_display_minor": 462500,
"gross_display_minor": 476375,
"display_currency": "RUB",
"invoice_url": "https://t.me/CryptoBot?start=IVxxxxxxxx",
"created_at": "2026-09-02T12:00:00Z",
"paid_at": "2026-09-02T12:07:00Z",
"expires_at": "2026-09-02T13:00:00Z"
}
}Заголовок Authorization: Bearer <ключ> на каждом запросе. Ключ один на аккаунт, выпускается в кабинете партнёра и показывается один раз. Он тратит депозит: держите его на сервере.
successbooleanобязательноdepositobjectобязательно401unauthorized: Неверный или отсутствующий API-ключ403api_disabled: Доступ к API для этого аккаунта закрыт404deposit_not_found: Пополнение не найдено422Validation Error429rate_limited: Слишком много запросов503upstream_unavailable: Поставщик VPN временно недоступенcurl https://api.relayhub.surf/api/v1/vpn/deposit/<custom_id> \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"success": true,
"deposit": {
"custom_id": "dep-2026-09-02-1",
"deposit_id": "01a06320-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
"status": "credited",
"provider": "cryptobot",
"amount_minor": 5000,
"amount_usd": "50.00",
"amount_display_minor": 462500,
"gross_display_minor": 476375,
"display_currency": "RUB",
"invoice_url": "https://t.me/CryptoBot?start=IVxxxxxxxx",
"created_at": "2026-09-02T12:00:00Z",
"paid_at": "2026-09-02T12:07:00Z",
"expires_at": "2026-09-02T13:00:00Z"
}
}