Query Deposit (Australia)
Query a single Australiaese Dong (AUD) deposit order by merchant order number.
Request Information
- Request URL:
/gateway/api/v2/payments/{payment_cl_id} - Request Method:
GET
Request Headers
| Parameter | Type | Description |
|---|---|---|
| Authorization | String | {authorization} Authorization token assigned by the system to the platform |
Path Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| payment_cl_id | Yes | String | Merchant order number |
Response Example
Success Response
{
"error_code": "0000",
"data": {
"payment_id": "DEMOPM0123456",
"payment_cl_id": "order_20260112001",
"amount": 5001000,
"real_amount": 5001000,
"fee": 50000,
"status": 2,
"payment_cl_name": "NGUYEN VAN A",
"create_time": 1737543600,
"success_time": 1737543700
}
}
Error Response Example
{
"error_code": "0050",
"error_msg": "Order not found!"
}
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code |
| error_msg | String | Error message (returned when error_code is not "0000") |
| payment_id | String | Diamond Pay order number |
| payment_cl_id | String | Merchant order number |
| amount | Int | Order amount |
| real_amount | Int | Actual payment amount |
| fee | Int | Fee |
| status | Int | Order status (0: Pending, 1: Processing, 2: Success, 3: Cancelled) |
| payment_cl_name | String | Payer name |
| create_time | Int | Create time (Unix timestamp) |
| success_time | Int | Payment success time (Unix timestamp) |
Notes
authorizationis the authorization token assigned by the system to the platform. If you haven't obtained one, please contact system personnel- Amount unit is Australiaese Dong (cents)