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/paymentshttps://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 should be considered as the current instructions for payment and verificationhttps://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_11https://wiki.tv.in/ru/home/payments/payments_1_12All are called through apiAction with the userLogin parameter.
| handle | what it 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, domain name, 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 |
server's current time | without parameters; call at the beginning of any payment case |
b2pay_lookup |
searching of payments through B2pay API | transaction_id, customer_id, search; ownership-check via getUserId; saves context for follow-up |
resolve_ton_tx |
checking TON transaction in blockchain | txid/hash; determines asset, addresses, memo, chain status |
check_ton_payment_status |
checking status of TON payment within TV Team | uses result of resolve_ton_tx; checks login in memo, user's payments, missed-ton |
wiki_lookup |
searching wiki (already implemented) | query: user's initial question; returns results with links or not_found/error |
userLoginuserLogin without restrictionswiki_lookup to search the wikiwiki_lookup search even without updating the indexhttps://wiki.tv.in/ru/system/old_bot/payment_systems_statuspayment_systems_statusmode=full|quick, system_name