API documentation
口座取引一覧
Retrieve account transアクション histまたはy with pagination suppまたはt
Content-Type
application-json
カテゴリ
user
アクション
transactions
リクエストパラメータ
| パラメータ名 | タイプ | 説明 | 例 |
|---|---|---|---|
| page | 整数(任意) | ページ番号(デフォルト:1) | 1 |
レスポンスパラメータ
| パラメータ名 | タイプ | 説明 |
|---|---|---|
| type | 文字列 | Transアクション type |
| about | 文字列 | Transアクション details |
| amount | 文字列 | Transアクション amount |
| time | 文字列 | 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",
}






