ドメイン 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.

取得 アカウント残高

このAPIコマンドはアカウント残高を読み取り、返します

Content-Type application/json
カテゴリ user
アクション balance

レスポンスパラメータ

パラメータ名 タイプ 説明
username 文字列 ユーザー名
amount 数量 金額
currency 文字列 通貨の種類

リクエスト例

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

返却結果

0 OK 成功レスポンス
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "username":"XXXX",
        "amount":12542.34,
        "currency":"USD"        
    }
}
400 不正なリクエスト
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
著作権 © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. 無断転載を禁じます. · U.S. Affiliate: NICENIC LLC