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






