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",
}






