계정 거래 내역 목록
페이지네이션을 지원하는 계정 거래 내역 조회
Content-Type
application/json
카테고리
user
action
transactions
요청 매개변수
| 매개변수 이름 | 유형 | 설명 | 예시 |
|---|---|---|---|
| page | Integer (선택 사항) | 페이지네이션의 페이지 번호 (기본값: 1) | 1 |
응답 매개변수
| 매개변수 이름 | 유형 | 설명 |
|---|---|---|
| type | String | 거래 유형 |
| about | String | 거래 세부 정보 |
| amount | String | 거래 금액 |
| time | String | 시간 (UTC+8) |
| currency | String | 통화 유형 |
요청 예시
{
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",
}






