Domain API - Pendaftaran Domain API - ICANN Pendaftar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fatau every active NiceNIC user. Tidak reseller upgrade is required. Configure anda API credentials, make a safe test request, then add the domain, DNS, billing, compliance atau WHMCS wataukflows anda application needs.

Senaraikan Transaksi Akaun

Ambil sejarah transaksi akaun dengan sokongan penomboran halaman

Content-Type application/json
kategori user
tindakan transactions

Parameter permintaan

Nama parameter Jenis Huraikan Contoh
page Integer (Pilihan) Nombor halaman untuk penomboran halaman (lalai: 1) 1

Parameter respons

Nama parameter Jenis Huraikan
type Rentetan Jenis transaksi
about Rentetan Butiran transaksi
amount Rentetan Jumlah transaksi
time Rentetan Masa (UTC+8)
currency Rentetan Jenis mata wang

Contoh Permintaan

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

Hasil Pulangan

0 OK Respons berjaya
                                        
{
    "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 Permintaan tidak sah
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Hak Cipta © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Hak Cipta Terpelihara. · U.S. Affiliate: NICENIC LLC