API documentation
Account Transactions
Retrieve account transaction history with pagination support
Content-Type
application-json
category
user
action
transactions
Request parameters
| Parameter Name | Type | Describe | Example |
|---|---|---|---|
| page | Integer (Optional) | Page number for pagination (default: 1) | 1 |
Response parameters
| Parameter Name | Type | Describe |
|---|---|---|
| type | String | Transaction type |
| about | String | Transaction details |
| amount | String | Transaction amount |
| time | String | Time (UTC+8) |
| currency | String | Currency type |
Request Example
{
curl http://api.www.unionroom.cn/v2/?category=user&action=transactions&page={page}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Return result
0 OK
Successful response
{
"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 Bad Request
{
"code": 400,
"msg" : "Request parameter error",
}






