**** อย่าให้บุคคลอื่นรู้ API KEY ของท่านเด็ดขาด ****
Parameters |
รายละเอียด |
---|---|
HTTP Method | POST |
API URL | https://otp24hr.com/api/v1 | action |
balance( Data ที่ต้องส่ง )keyapi = ส่ง Key Api |
ตัวอย่าง !! | URL : https://otp24hr.com/api/v1?action=balance ( รูปภาพประกอบ ) ![]() |
Response | ( รูปภาพประกอบ ) ![]() |
Parameters |
รายละเอียด |
---|---|
HTTP Method | GET |
API URL | https://otp24hr.com/api/v1 | action | getpack หรือ getsocial หรือ getgames หรือ getphone |
ตัวอย่าง !! | URL : https://otp24hr.com/api/v1?action=getpack URL : https://otp24hr.com/api/v1?action=getsocial&per=10 (per คือ % ที่ต้องการบวกราคาเพิ่ม จากตัวอย่างบวกเพิ่ม 10% !!) URL : https://otp24hr.com/api/v1?action=getgames URL : https://otp24hr.com/api/v1?action=getphone ( รูปภาพประกอบ ) ![]() |
Response |
( รูปภาพประกอบ ) ![]() getpacktype_code = รหัสสินค้า getsocial
category = กลุ่มของสินค้า getgamestype_game = โค๊ดเกมส์ที่ต้องส่ง getphone phone = เบอร์โทร |
Parameters |
รายละเอียด |
---|---|
HTTP Method | POST |
API URL | https://otp24hr.com/api/v1 |
Key | |
action |
buypack( Data ที่ต้องส่ง )keyapi = ส่ง Key Api type_code = รหัสสินค้า amount = จำนวนซื้อสินค้า email = E-mail ( Youtube สำหรับใช้เม็ลลูกค้า ) buysocial( Data ที่ต้องส่ง )keyapi = ส่ง Key Api type_code = รหัสสินค้า link = ลิ้งค์ที่ต้องการปั้ม amount = จำนวนซื้อสินค้า buygame( Data ที่ต้องส่ง )keyapi = ส่ง Key Api type_game = รหัสเกมส์ type_code = รหัสไอเทม game_server = server ( หากมี Server ให้ส่งมา ) buyotp( Data ที่ต้องส่ง )keyapi = ส่ง Key Api id = ไอดี ( วิธีเอาไอดีจะอยู่ใน ปุ่ม ซื้อข้อความ เป็น data-id อยู่ในไฟล์ Log ) |
ตัวอย่าง !! | URL : https://otp24hr.com/api/v1?action=buypack URL : https://otp24hr.com/api/v1?action=buysocial URL : https://otp24hr.com/api/v1?action=buygame URL : https://otp24hr.com/api/v1?action=buyotp ( รูปภาพประกอบ ) ![]() |
Response |
( รูปภาพประกอบ ) ![]() buypack status = สถานะ success / error buysocial status = สถานะ success / error buygame status = สถานะ success / error buyotp status = สถานะ success / error |
Parameters |
รายละเอียด |
---|---|
HTTP Method | POST |
API URL | https://otp24hr.com/api/v1 |
Key | |
action |
logpack( Data ที่ต้องส่ง )keyapi = ส่ง Key Api logsocaial( Data ที่ต้องส่ง )keyapi = ส่ง Key Api loggame( Data ที่ต้องส่ง )keyapi = ส่ง Key Api order = เลข order ( ถ้าไม่ใส่จะแสดงทั้งหมด ) |
ตัวอย่าง !! | URL : https://otp24hr.com/api/v1?action=logpack URL : https://otp24hr.com/api/v1?action=logsocaial URL : https://otp24hr.com/api/v1?action=loggame ( รูปภาพประกอบ ) ![]() |
Response |
( รูปภาพประกอบ ) ![]() logpack id = เลขรายการ logsocaial id = เลขรายการ loggame order = เลขรายการ |
ติดต่อเรา