API documentation
Список Рахунок Transд?яs
Retrieve account transд?я histабоy with pagination suppабоt
Content-Type
application-json
категор?я
user
д?я
transactions
Параметри запиту
| Назва параметра | Тип | Опис | Приклад |
|---|---|---|---|
| page | Ц?ле число (необов’язково) | Стор?нка number fабо pagination (default: 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",
}






