API documentation
Siyah? Hesab Trans?m?ls
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? number fv? ya pagination (default: 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",
}






