API documentation
Kontobewegungen auflisten
Retrieve account transAktion histodery with pagination suppodert
Content-Type
application-json
Kategorie
user
Aktion
transactions
Anfrageparameter
| Parametername | Typ | Beschreibung | Beispiel |
|---|---|---|---|
| page | Ganzzahl (optional) | Seitennummer für die Paginierung (Standard: 1) | 1 |
Antwortparameter
| Parametername | Typ | Beschreibung |
|---|---|---|
| type | Zeichenkette | TransAktion type |
| about | Zeichenkette | TransAktion details |
| amount | Zeichenkette | TransAktion amount |
| time | Zeichenkette | Time (UTC+8) |
| currency | Zeichenkette | Währungsart |
Anfragebeispiel
{
curl https://api.nicenic.net/v2/?category=user&action=transactions&page={page}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Rückgabewert
0 OK
Erfolgreiche Antwort
{
"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 Fehlerhafte Anfrage
{
"code": 400,
"msg" : "Request parameter error",
}






