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 หรือ getotp |
ตัวอย่าง !! | URL : https://otp24hr.com/api/v1?action=getpack URL : https://otp24hr.com/api/v1?action=getsocial&per=$per ($per คือ % ที่ต้องการบวกราคาเพิ่ม ) URL : https://otp24hr.com/api/v1?action=getgames URL : https://otp24hr.com/api/v1?action=getotp&per=$per ($per คือ ราคาบวกเพิ่มจากเดิมเป็นหน่วย สมมุติราคา 10 ใส per 5 จะบวกเพิ่มเป็น 15 ) ( รูปภาพประกอบ ) |
Response |
( รูปภาพประกอบ ) getpacktype_code = รหัสสินค้า getsocial
category = กลุ่มของสินค้า getgamestype_game = โค๊ดเกมส์ที่ต้องส่ง getotp id = ไอดี |
Parameters |
รายละเอียด |
---|---|
HTTP Method | POST |
API URL | https://otp24hr.com/api/v1 |
Key | |
action |
buypack( Data ที่ต้องส่ง )keyapi = ส่ง Key Api type_code = รหัสสินค้า ( รหัสสินค้าทดสอบ 127 ) amount = จำนวนซื้อสินค้า buysocial( Data ที่ต้องส่ง )keyapi = ส่ง Key Api type_code = รหัสสินค้า link = ลิ้งค์ที่ต้องการปั้ม amount = จำนวนซื้อสินค้า comments = คอมเม้นต์ ที่ต้องการ ( ปั้มคอมเม้นต์ ) buygame( Data ที่ต้องส่ง )keyapi = ส่ง Key Api type_game = รหัสเกมส์ type_code = รหัสไอเทม game_server = server ( หากมี Server ให้ส่งมา ) buyotp( Data ที่ต้องส่ง )keyapi = ส่ง Key Api type = รหัสรายการ ct = ประเทศ รหัสประเทศ - Thailand| รหัส : 52 - USA| รหัส : 187 - United Kingdom| รหัส : 16 - Indonesia| รหัส : 6 - Vietnam| รหัส : 10 - Myanmar| รหัส : 5 - Ukraine| รหัส : 1 - Nigeria| รหัส : 19 - Turkey| รหัส : 62 - China| รหัส : 3 - Philippines| รหัส : 4 - Cambodia| รหัส : 24 - Laos| รหัส : 25 - Malaysia| รหัส : 7 - Egypt| รหัส : 21 |
ตัวอย่าง !! | 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 URL : https://otp24hr.com/api/v1/otp_status?order_id=$order_id ( ส่งเลข $order_id เพื่อเช็คข้อมลู OTP ) ( รูปภาพประกอบ ) |
Response |
( รูปภาพประกอบ ) logpack id = เลขรายการ logsocaial id = เลขรายการ loggame order = เลขรายการ otp_status status = Success / Wait / Timeout / Failed |
Parameters |
รายละเอียด |
---|---|
HTTP Method | GET |
API URL | https://otp24hr.com/api/v2/2fa?g= |
Key | |
action |
2FA( Params )g = ส่ง KEY 2FA |
ตัวอย่าง !! | URL : https://otp24hr.com/api/v2/2fa?g= [ KEY 2FA ] ( รูปภาพประกอบ ) |
Response |
( รูปภาพประกอบ ) 2FA status = สถานะ |
Parameters |
รายละเอียด |
---|---|
HTTP Method | GET |
API URL | https://otp24hr.com/geturl?url= |
Key | |
action |
Shorturl( Params )url = ลิ้งค์ที่ต้องการย่อ |
ตัวอย่าง !! | URL : https://otp24hr.com/geturl?url= [ ลิ้งค์ที่ต้องการย่อ] ( รูปภาพประกอบ ) |
Response |
( รูปภาพประกอบ ) Shorturl status = สถานะ |