API documentation
Liste Hesap Transi?lems
Retrieve account transi?lem histveyay with pagination suppveyat
Content-Type
application-json
kategori
user
i?lem
transactions
?stek parametreleri
| Parametre Ad? | Tür | A??klama | ?rnek |
|---|---|---|---|
| page | Integer (?ste?e ba?l?) | Sayfa number fveya pagination (default: 1) | 1 |
Yan?t parametreleri
| Parametre Ad? | Tür | A??klama |
|---|---|---|
| type | String | Transi?lem type |
| about | String | Transi?lem details |
| amount | String | Transi?lem amount |
| time | String | Time (UTC+8) |
| currency | String | Para birimi türü |
?stek ?rne?i
{
curl https://api.nicenic.net/v2/?category=user&action=transactions&page={page}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
D?nü? sonucu
0 OK
Ba?ar?l? yan?t
{
"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 Hatal? ?stek
{
"code": 400,
"msg" : "Request parameter error",
}






