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