เติมเกมออนไลน์
เติมเกมออนไลน์

OTP24HR.COM


ข้อมลู API

  ยศ :
  คงเหลือ : บาท
  GEN APIKEY :

**** อย่าให้บุคคลอื่นรู้ 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 หรือ 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


( รูปภาพประกอบ )


getpack

type_code = รหัสสินค้า
app = ประเภทสินค้า
name = ชื่อสินค้า
img = ลิ้งค์รูปสินค้า
msg = รายละเอียด
price = ราคาสินค้า
exp = วันหมดอายุ
amount = สินค้าคงเหลือ

getsocial

category = กลุ่มของสินค้า
name = ชื่อสินค้า
min = จำนวนขั่นต่ำ ( ต่อครั้ง)
max = จำนวนสูงสุด ( ต่อครั้ง)
price = ราคาสินค้าลูกค้ากำหนดได้ / 1000
ตัวอย่าง : https://otp24hr.com/api/v1?action=getsocial&per=$per
($per คือ % ที่ต้องการบวกราคาเพิ่ม )
price_ori = ราคาจากทางร้าน / 1000
type_code = รหัสสินค้า

getgames

type_game = โค๊ดเกมส์ที่ต้องส่ง
namegame = ชื่อเกมส์
img = ภาพสินค้า
img_icon = ภาพไอคอน
img_howto = ภาพวิธีรับ UID
discount = ส่วนลด
savergame = เซฟเวอร์เกมส์
[
name = ชื่อ server
value = รหัส server
]
denominationData = รายละเอียดสินค้า
[
type_code = โค๊ดไอเทมที่ต้องส่ง
price = ราคาสินค้า
description = ชื่อแพคสินค้า
]

getotp

id = ไอดี
app = ชื่อสินค้า
type = รหัสสินค้า
img = รูปภาพ
price = ราคา
($per คือ ราคาบวกเพิ่มจากเดิมเป็นหน่วย สมมุติราคา 10 ใส per 5 จะบวกเพิ่มเป็น 15 )

สั่งซื้อสินค้า

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
name = ชื่อสินค้า
textid = ข้อมลูสินค้า
amount = จำนวนซื้อสินค้า
price = ราคาสินค้า
total_credit = เครดิตคงเหลือ
linkz = ซื้อมากกว่า 3 รายการจะเป็น ลิ้งค์ .txt !!

buysocial

status = สถานะ success / error
order = เลขออเดอร์
name = ชื่อรายการ
link = ลิ้งค์ที่ปั้ม
amount = จำนวนซื้อสินค้า
price = ราคาสินค้า
credit_toltal = ยอดคงเหลือ

buygame

status = สถานะ success / error
order = เลขออเดอร์
name = ชื่อเกมส์
type_name = รายการ
uid = uid ที่เติมเงิน
price = ราคาสินค้า
credit_toltal = ยอดคงเหลือ

buyotp

status = สถานะ success / error
msg = ข้อความแจ้งสถานะ
id = เลขไอดี
order_id = เลขออเดอร์
number = เบอร์โทรศัพท์
price_ori = ราคาที่จ่าย
type = รหัสสินค้า
app = ชื่อรายการ
credit_toltal = ยอดคงเหลือ

ดึงประวัติ

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 = เลขรายการ
linktext = ไฟล์ .txt
msg = ข้อมลูสินค้า
amount = จำนวนซื้อสินค้า
price = ราคาสินค้า
time = เวลา

logsocaial

id = เลขรายการ
link = ลิ้งค์ที่ปั้ม
msg = ข้อมลูสินค้า
amount = จำนวนซื้อสินค้า
price = ราคาสินค้า
time = เวลา
status = สถานะการทำงาน

loggame

order = เลขรายการ
name = ชื่อสินค้า
data = ข้อมลูสินค้า
price = ราคาสินค้า
time = เวลา
status = สถานะ
( ถ้าหากจะเช็ค Status รายการให้ส่ง Post เลข Order เข้ามา )

otp_status

status = Success / Wait / Timeout / Failed
msg = ข้อความแจ้งสถานะ
otp = รหัส OTP

เครื่องมือ 2FA

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 = สถานะ
code = เลข 2FA

เครื่องมือ ย่อลิ้งค์

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 = สถานะ
shorturl = ลิ้งค์ที่ย่อแล้ว