query deposit record
POST
/api/deposit/querythe amount in deposit record: amount / 1e12 => $, ex. 12000000000000 (12 zero) = $12.00
请求参数
Body Params application/json
filter
object
required
query condition
credit_type
string
required
always "user_dollar"
start_date
string
required
start date, format: 2023-01-10
end_date
string
required
end date, format: 2023-02-10
limit
integer
required
query quantity for pagination
offset
integer
required
query offset for pagination
Example
{
"filter": {
"credit_type": "user_dollar",
"end_date": "2023-06-30",
"start_date": "2023-06-01"
},
"limit": 10,
"offset": 0
}
示例代码
Responses
result(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
array [object {10}]
optional
query result
amount
integer
optional
amount / 1e12 => $, ex. 12000000000000 (12 zero) = $12.00
created_unixtime
integer
optional
credit_type
string
optional
id
integer
optional
log
string
optional
operator_id
integer
optional
payment_id
integer
optional
payment_type
string
optional
for third-part payment
tag
string
optional
user_id
integer
optional
meta_message
string
optional
success or other error msg
meta_status
integer
optional
1 for success, negative for error
total_count
integer
optional
total record quantity
Example
{
"data": [
{
"amount": 0,
"created_unixtime": 0,
"credit_type": "string",
"id": 0,
"log": "string",
"operator_id": 0,
"payment_id": 0,
"payment_type": "string",
"tag": "string",
"user_id": 0
}
],
"meta_message": "string",
"meta_status": 0,
"total_count": 0
}
Modified at 1 年前