API documentation
Hesab Əməliyyatlarının Siyahısı
Retrieve account transəməl histvə yay with pagination suppvə yat
Content-Type
application-json
kateqoriya
user
əməl
transactions
Sorğu parametrləri
| Parametrin adı | Növ | Təsvir et | Nümunə |
|---|---|---|---|
| page | Tam ədəd (İsteğe bağlı) | Səhifələmə üçün səhifə nömrəsi (standart: 1) | 1 |
Cavab parametrləri
| Parametrin adı | Növ | Təsvir et |
|---|---|---|
| type | Sətr | Transəməl type |
| about | Sətr | Transəməl details |
| amount | Sətr | Transəməl amount |
| time | Sətr | Time (UTC+8) |
| currency | Sətr | Valyuta növü |
Sorgu Nümunəsi
{
curl https://api.nicenic.net/v2/?category=user&action=transactions&page={page}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Nəticənin qayıdışı
0 OK
Uğurlu cavab
{
"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 Yanlış Sorğu
{
"code": 400,
"msg" : "Request parameter error",
}






