Domain API - Pagrehistro ng Domain API - ICANN Registrar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fo every active NiceNIC user. Hindi reseller upgrade is required. Configure iyong API credentials, make a safe test request, then add the domain, DNS, billing, compliance o WHMCS wokflows iyong application needs.

Kunin Balanse ng Account

Binabasa at ibinabalik ng API command na ito ang balanse ng account

Content-Type application/json
kategorya user
aksyon balance

Mga parameter ng tugon

Pangalan ng parameter Uri Paglalarawan
username String Username
amount Numero Halaga
currency String Uri ng currency

Halimbawa ng Request

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

Resulta ng Return

0 OK Matagumpay na tugon
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "username":"XXXX",
        "amount":12542.34,
        "currency":"USD"        
    }
}
400 Hindi wastong kahilingan
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Lahat ng Karapatan ay Nakalaan. · U.S. Affiliate: NICENIC LLC