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; öffentliche TON-Seiten gelten als aktuelle Zahlungs- und Prüfungsanweisungenhttps://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 eingibt: 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_11Alle werden über apiAction mit dem Parameter userLogin aufgerufen.
| Griff | was gibt zurück |
|---|---|
getUserId |
userId, userLogin |
getUserBalance |
userBalance (USD) |
getLogInAbility |
logInAbility (bool) |
getTopUpAbility |
topUpAbility (bool, false = gesperrt) |
getUserDealer |
dealerLogin (Fehler, wenn Selbstregistrierung) |
getConnectionsCount |
connectionsCount (999 = unbegrenzt) |
getDialerDiscount |
discountType (fest/dynamisch), discount (Prozentsatz) |
getServer |
serverData: id, Domainname, Land |
getLastPayments |
letzte 10 Zahlungen: paymentId, psPaymentId, paymentAmount (USD), paymentStatus (1=gebucht, 2=zurückgezogen), paymentEnrollDate, paymentSystemName |
getActivePackages |
aktive Pakete: fromDate, toDate, price, packageName, parentId |
getLastPackages |
letzte 5 Pakete: fromDate, toDate, price, packageName, parentId, abgebrochen |
getInternalTransfers |
letzte 5 interne Überweisungen: fromUserLogin, toUserLogin, transferAmount, transferPurpose, transferDate |
| Griff | Zweck | Schlüsselparameter |
|---|---|---|
get_current_datetime |
aktuelle Serverzeit | keine Parameter; am Anfang eines Zahlungsvorgangs aufrufen |
b2pay_lookup |
Suche nach Zahlungen über B2pay API | transaction_id, customer_id, search; Überprüfung des Eigentums über getUserId; speichert den Kontext für die Nachverfolgung |
resolve_ton_tx |
Überprüfung der TON-Transaktion in der Blockchain | txid/hash; bestimmt Asset, Adressen, Memo, Kettenstatus |
check_ton_payment_status |
Überprüfung des Status einer TON-Zahlung innerhalb des TV-Teams | verwendet das Ergebnis von resolve_ton_tx; überprüft den Login in Memo, die Zahlungen des Benutzers, missed-ton |
wiki_lookup |
Suche in der Wiki (bereits implementiert) | query: ursprüngliche Frage des Benutzers; gibt results mit Links oder not_found/error zurück |
userLogin aufuserLogin ohne Einschränkungen aufwiki_lookup verwenden, um in der Wiki zu suchenwiki_lookup search finden, auch ohne Aktualisierung des Indexhttps://wiki.tv.in/ru/system/old_bot/payment_systems_statuspayment_systems_statusmode=full|quick, system_name