Query Deposit Order
Query deposit order details.
Request Information
- Request URL:
/gateway/api/v1/payments - Request Method:
GET - Content-Type:
application/x-www-form-urlencoded; charset=utf-8
Request Headers
| Parameter | Type | Description |
|---|---|---|
| Authorization | String | {authorization} Authorization ID assigned to the platform by the system |
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| offset | No | Integer(10) | Query offset, default 0 |
| limit | No | Integer(10) | Number of orders to return, default 25, max 500 |
| payment_id | No | String(10) | System order ID |
| payment_cl_id | No | String(32) | Merchant order ID |
| create_time__gte | No | Integer(10) | Creation time start (Unix timestamp in seconds) |
| create_time__lte | No | Integer(10) | Creation time end (Unix timestamp in seconds) |
Response Example
Success Response
{
"error_code": "0000",
"data": [
{
"amount": 30000,
"real_amount": 0,
"fee": 0,
"payment_id": "PM00000145",
"payment_cl_id": "xinxin_1596380261_10",
"payment_cl_name": "testname",
"platform_id": "PF0060",
"platform_channel_id": "PFC00000142",
"status": 3,
"memo": "",
"create_time": 1596425140,
"update_time": 1596425770,
"sign": "459408960e8e7173f6eae20c2bb8339f"
},
{
"amount": 30000,
"real_amount": 0,
"fee": 0,
"payment_id": "PM00000144",
"payment_cl_id": "xinxin_1596380261_11",
"payment_cl_name": "testname",
"platform_id": "PF0060",
"platform_channel_id": "PFC00000142",
"status": 3,
"memo": "",
"create_time": 1596424960,
"update_time": 1596425590,
"sign": "151ed70de39dc222f3444bc84947975a"
}
],
"total": 2
}
Error Response Example
{
"error_code": "0006",
"error_msg": "Invalid Authorization!"
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code |
| error_msg | String | Error message (returned when error_code is not "0000") |
| status | Integer | Order status (refer to Order Status List) |
| payment_cl_name | String | Depositor name |
| sign | String | Order signature, refer to Signature Specification |
Remarks
- All query conditions are concatenated as QueryString in
key=valueformat joined by& authorizationis the authorization ID assigned to the platform by the system. If not obtained, please contact system personnel.- Each returned order has a signature (sign), all fields participate in the signature
- Orders are sorted by creation time in descending order (newest first)
- Creation time start and end must both be provided to take effect, use Unix timestamp