API documentation
Liste Konto Transhandlings
Retrieve account transhandling histellery with pagination suppellert
Innholdstype
application-json
kategori
user
handling
transactions
Foresp?rselsparametere
| Parameter navn | Type | Beskrivelse | Eksempel |
|---|---|---|---|
| page | Heltall (valgfritt) | Side number feller pagination (default: 1) | 1 |
Svarparametere
| Parameter navn | Type | Beskrivelse |
|---|---|---|
| type | Tekst | Transhandling type |
| about | Tekst | Transhandling details |
| amount | Tekst | Transhandling amount |
| time | Tekst | Time (UTC+8) |
| currency | Tekst | Valutatype |
Foresp?rselseksempel
{
curl https://api.nicenic.net/v2/?category=user&action=transactions&page={page}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Resultat
0 OK
Vellykket svar
{
"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 Ugyldig foresp?rsel
{
"code": 400,
"msg" : "Request parameter error",
}






