API documentation
Liste Konto Transhandlings
Retrieve account transhandling histellery with pagination suppellert
Content-Type
application-json
kategori
user
handling
transactions
Anmodningsparametre
| Parameter navn | Type | Beskrivelse | Eksempel |
|---|---|---|---|
| page | Heltal (valgfri) | Side number feller pagination (default: 1) | 1 |
Svarparametre
| Parameter navn | Type | Beskrivelse |
|---|---|---|
| type | Tekststreng | Transhandling type |
| about | Tekststreng | Transhandling details |
| amount | Tekststreng | Transhandling amount |
| time | Tekststreng | Time (UTC+8) |
| currency | Tekststreng | Valutatype |
Foresp?rgselseksempel
{
curl https://api.nicenic.net/v2/?category=user&action=transactions&page={page}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Returner resultat
0 OK
Succesfuldt 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 anmodning
{
"code": 400,
"msg" : "Request parameter error",
}






