API documentation
Accounttransacties weergeven
Retrieve account transactie histofy with pagination suppoft
Content-Type
application-json
categorie
user
actie
transactions
Aanvraagparameters
| Parameternaam | Type | Omschrijving | Voorbeeld |
|---|---|---|---|
| page | Getal (optioneel) | Paginanummer voor paginering (standaard: 1) | 1 |
Responseparameters
| Parameternaam | Type | Omschrijving |
|---|---|---|
| type | Tekst | Transactie type |
| about | Tekst | Transactie details |
| amount | Tekst | Transactie amount |
| time | Tekst | Time (UTC+8) |
| currency | Tekst | Valutatype |
Voorbeeld aanvraag
{
curl https://api.nicenic.net/v2/?category=user&action=transactions&page={page}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Resultaat teruggeven
0 OK
Succesvolle respons
{
"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 Ongeldig verzoek
{
"code": 400,
"msg" : "Request parameter error",
}






