MAIN_WIKI: https://wiki.tv.in/ru/homeSTART_SECTION: https://wiki.tv.in/ru/home/lookTECH_SECTION: https://wiki.tv.in/ru/home/techDEVICES_SECTION: https://wiki.tv.in/ru/home/devicesPLAYERS_SECTION: https://wiki.tv.in/ru/home/playerPLAYLIST_SECTION: https://wiki.tv.in/ru/home/playlistACCOUNT_SECTION: https://wiki.tv.in/ru/home/accountPAYMENTS_SECTION: https://wiki.tv.in/ru/home/paymentsOLD_BOT_ROOT: https://wiki.tv.in/ru/system/old_botOLD_BOT_PROMPT: https://wiki.tv.in/ru/system/old_bot/promptOLD_BOT_PAYMENTS: https://wiki.tv.in/ru/system/old_bot/paymentsOLD_BOT_ALGORITHMS_SPAYON: https://wiki.tv.in/ru/system/old_bot/algorithms_spayonOLD_BOT_ALGORITHMS_STREAMPAY: https://wiki.tv.in/ru/system/old_bot/algorithms_streampayOLD_BOT_ALGORITHMS_HELEKET: https://wiki.tv.in/ru/system/old_bot/algorithms_heleketOLD_BOT_ALGORITHMS_PLISIO: https://wiki.tv.in/ru/system/old_bot/algorithms_plisioOLD_BOT_ALGORITHMS_TRYBIT: https://wiki.tv.in/ru/system/old_bot/algorithms_trybitOLD_BOT_ALGORITHMS_TON: https://wiki.tv.in/ru/system/old_bot/algorithms_tonOLD_BOT_PAYMENT_SYSTEMS_STATUS: https://wiki.tv.in/ru/system/old_bot/payment_systems_statushttps://wiki.tv.in/ru/home/lookhttps://wiki.tv.in/ru/home/look/look_1_5https://wiki.tv.in/ru/home/look/look_1_6https://wiki.tv.in/ru/home/look/look_1_8https://wiki.tv.in/ru/home/tech/tech_1_8https://wiki.tv.in/ru/home/tech/tech_1_1https://wiki.tv.in/ru/home/tech/tech_1_2https://wiki.tv.in/ru/home/tech/tech_1_3https://wiki.tv.in/ru/home/tech/tech_1_4https://wiki.tv.in/ru/home/tech/tech_1_5https://wiki.tv.in/ru/home/tech/tech_1_6https://wiki.tv.in/ru/home/tech/tech_1_7https://wiki.tv.in/ru/home/tech/tech_1_10https://wiki.tv.in/ru/home/tech/tech_1_11https://wiki.tv.in/ru/home/playerhttps://wiki.tv.in/ru/home/player/player_1_1https://wiki.tv.in/ru/home/player/player_1_2https://wiki.tv.in/ru/home/player/player_1_3https://wiki.tv.in/ru/home/player/player_1_4https://wiki.tv.in/ru/home/player/player_1_5https://wiki.tv.in/ru/home/player/player_1_6https://wiki.tv.in/ru/home/player/player_1_7https://wiki.tv.in/ru/home/player/player_1_8https://wiki.tv.in/ru/home/deviceshttps://wiki.tv.in/ru/home/devices/device_1_1https://wiki.tv.in/ru/home/devices/device_1_2https://wiki.tv.in/ru/home/devices/device_1_3https://wiki.tv.in/ru/home/devices/device_1_4https://wiki.tv.in/ru/home/devices/device_1_5https://wiki.tv.in/ru/home/devices/device_1_6https://wiki.tv.in/ru/home/devices/device_1_7https://wiki.tv.in/ru/home/devices/device_1_8https://wiki.tv.in/ru/home/devices/device_1_9https://wiki.tv.in/ru/home/playlist/playlist_1_1https://wiki.tv.in/ru/home/playlist/playlist_1_2https://wiki.tv.in/ru/home/playlist/playlist_1_3https://wiki.tv.in/ru/home/account/account_1_1https://wiki.tv.in/ru/home/account/account_1_2https://wiki.tv.in/ru/home/account/account_1_3https://wiki.tv.in/ru/home/account/account_1_4https://wiki.tv.in/ru/home/account/account_1_5https://wiki.tv.in/ru/home/account/account_1_6https://wiki.tv.in/ru/home/account/account_1_7https://wiki.tv.in/ru/home/account/account_1_8https://wiki.tv.in/ru/home/epg/epg_1_1https://wiki.tv.in/ru/home/epg/epg_1_3https://wiki.tv.in/ru/home/epg/epg_1_4https://wiki.tv.in/ru/home/epg/epg_1_5algorithms_ton; public TON pages are considered the current payment and verification instructionshttps://wiki.tv.in/ru/home/payments/payments_1_1https://wiki.tv.in/ru/home/payments/payments_1_2https://wiki.tv.in/ru/home/payments/payments_1_3https://wiki.tv.in/ru/home/payments/payments_1_4https://wiki.tv.in/ru/home/payments/payments_1_5https://wiki.tv.in/ru/home/payments/payments_1_6https://wiki.tv.in/ru/home/payments/payments_1_7@Wallet: https://wiki.tv.in/ru/home/payments/payments_1_8TON / USDT TON: https://wiki.tv.in/ru/home/payments/payments_1_9https://wiki.tv.in/ru/home/payments/payments_1_10https://wiki.tv.in/ru/home/payments/payments_1_11All called via apiAction with parameter userLogin.
| handle | returns |
|---|---|
getUserId |
userId, userLogin |
getUserBalance |
userBalance (USD) |
getLogInAbility |
logInAbility (bool) |
getTopUpAbility |
topUpAbility (bool, false = blocked) |
getUserDealer |
dealerLogin (error if self-registration) |
getConnectionsCount |
connectionsCount (999 = unlimited) |
getDialerDiscount |
discountType (fixed/dynamic), discount (percentage) |
getServer |
serverData: id, domainName, country |
getLastPayments |
last 10 payments: paymentId, psPaymentId, paymentAmount (USD), paymentStatus (1=credited, 2=withdrawn), paymentEnrollDate, paymentSystemName |
getActivePackages |
active packages: fromDate, toDate, price, packageName, parentId |
getLastPackages |
last 5 packages: fromDate, toDate, price, packageName, parentId, canceled |
getInternalTransfers |
last 5 internal transfers: fromUserLogin, toUserLogin, transferAmount, transferPurpose, transferDate |
| handle | purpose | key parameters |
|---|---|---|
get_current_datetime |
current server time | no parameters; call at start of any payment case |
b2pay_lookup |
disabled: B2pay API inactive | do not use for automatic verification; answer by algorithms_b2pay |
resolve_ton_tx |
check TON transaction in blockchain | txid/hash; determines asset, addresses, memo, chain status |
ton_lookup_by_memo |
find TON/USDT TON candidates by memo/login or no memo | date_from, date_to, memo_mode=exact/missing/any, optionally user_login, amount, asset; after candidate call check_ton_payment_status |
check_ton_payment_status |
final TON payment status verification inside TV Team | uses result of resolve_ton_tx; checks memo login, user payments, missed-ton |
wiki_lookup |
search wiki (already implemented) | query: original user question; returns results with links or not_found/error |
heleket_lookup |
check Cryptomus / Heleket | action=info/list/txid, uuid, order_id, txid/hash, user_login, date_from/date_to |
plisio_lookup |
check Plisio | action=list/info, user_login, operation_id, order_number, txid/search, date_from/date_to |
spayon_lookup |
check SpayOn [VISA MC] | action=list/info/admin_search, user_login, invoice_id/external_id/session_id, date_from/date_to, card_last4, status |
streampay_lookup |
check StreamPay (psId=22) via public API |
action=list/info/list_all, user_login, invoice_id, date_from/date_to, limit; list_all only mod/admin |
trybit_lookup |
check Trybit | action=list/info/txid, user_login, user_id, invoice_id/external_id, txid/hash, date_from/date_to |
userLoginuserLoginwiki_lookup to search wikiwiki_lookup even without index updatehttps://wiki.tv.in/ru/system/old_bot/payment_systems_statuspayment_systems_statusmode=full|quick, system_namealgorithms_heleket: Cryptomus / Heleket algorithm, search txid/hash, verify payment UUID/order_id/status, resend webhook for mod/admin.algorithms_plisio: Plisio All Crypto algorithm, provider statuses, plisio_lookup, verify TV Team psPaymentId = Plisio operation_id, no resend webhook.algorithms_trybit: Trybit All Crypto algorithm, search txid/hash, statuses created/paid/partial/overpaid/canceled, handle trybit_lookup, search list by user_login -> userId -> order_id or directly by user_id for mod/admin, verify invoice with TV Team by external_id and order_id=userId.algorithms_spayon — SpayOn [VISA MC] and disputed card charges verification algorithmspayon_lookup — SpayOn payments check handle in TV Team by login/external_idalgorithms_streampay — StreamPay (psId=22) check algorithm via public API, personal search by user_login -> userId -> external_id, list_all for mod/adminstreampay_lookup — StreamPay check handle: action=list, action=info, action=list_all, always auth_mode=public_api