โดเมน API - จดทะเบียนโดเมน API - ICANN ผู้รับจดทะเบียน API - White Label โดเมน Service

Start Building with NiceNIC โดเมน API v2

API access is free fหรือ every active NiceNIC user. ไม่ reseller upgrade is required. Configure ของคุณ API credentials, make a safe test request, then add the โดเมน, DNS, billing, compliance หรือ WHMCS wหรือkflows ของคุณ application needs.

รายการธุรกรรมบัญชี

ดึงประวัติธุรกรรมของบัญชีพร้อมรองรับการแบ่งหน้า

Content-Type application/json
หมวดหมู่ user
การทำงาน transactions

พารามิเตอร์คำขอ

ชื่อพารามิเตอร์ ประเภท คำอธิบาย ตัวอย่าง
page จำนวนเต็ม (ไม่บังคับ) หมายเลขหน้าสำหรับการแบ่งหน้า (ค่าปริยาย: 1) 1

พารามิเตอร์การตอบกลับ

ชื่อพารามิเตอร์ ประเภท คำอธิบาย
type สตริง ประเภทธุรกรรม
about สตริง รายละเอียดธุรกรรม
amount สตริง จำนวนเงินธุรกรรม
time สตริง เวลา (UTC+8)
currency สตริง ประเภทสกุลเงิน

ตัวอย่างคำขอ

                                    
{
    curl https://api.nicenic.net/v2/?category=user&action=transactions&page={page} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

ผลลัพธ์ที่ส่งกลับ

0 OK ตอบกลับสำเร็จ
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        [
            {
                "type": "order_pay",
                "about": "Domain registration fee",
                "amount": "-15.99",
                "time": "2023-04-01 12:00:00",
                "currency": "USD"
            },
            {
                "type": "order_pay",
                "about": "Account deposit",
                "amount": "100.00",
                "time": "2023-04-01 12:00:00",
                "currency": "USD"
            }
            ...
        ]        
    }
}
400 คำขอไม่ถูกต้อง
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
ลิขสิทธิ์ © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. สงวนลิขสิทธิ์ทั้งหมด. · U.S. Affiliate: NICENIC LLC