Payment Query
Request URL
| method | url |
|---|---|
| POST | /api/pay/payment/query/v1 |
Header Information
| Header Parameter | Description |
|---|---|
| timestamp | Request timestamp |
| nonce | Random value |
| country | Country code (CL) |
| app_code | Application ID |
Request Parameters
| Field | Type | Required | Length | Description |
|---|---|---|---|---|
| merchantOrderNo | String | yes | 32 | Merchant order number |
| sign | String | yes | Signature |
{ "merchantOrderNo": "OrderNoExample", "sign": "YOUR_SIGN"}Response Parameters
| Parameter | Type | Required | Length | Description |
|---|---|---|---|---|
| merchantOrderNo | String | yes | 32 | Merchant order number |
| tradeNo | String | yes | Platform order number | |
| paymentType | Int | yes | Payment type: 1-Repayment code 4-PayCashOnce(Single offline) 5-PayCashRecurrent(Multiple offline) | |
| transactionAmount | String | yes | Order transaction amount | |
| amount | String | yes | Payment amount | |
| status | String | yes | 2-Success 3-Failed 4-Refund | |
| statementList | Object | no | Payment transaction information | |
| — paymentSingleOrderNo | String | yes | Single payment transaction number | |
| — paymentStatementAmount | String | yes | Single payment amount | |
| — paymentStatementStatus | Int | yes | Single payment transaction status: 2-Payment Success 3-Payment Failed 4-Refund | |
| — paymentStatementStatusName | String | yes | Transaction status name | |
| — message | String | no | Transaction message |
{ "merchantOrderNo": "OrderNoExample", "tradeNo": "TS2501010001CL0000000000000000", "paymentType": 1, "amount": "100", "status": "2", "statementList": [ { "paymentSingleOrderNo": "OrderNoExample", "paymentStatementAmount": "100", "paymentStatementStatus": "2", "paymentStatementStatusName": "Payment Success", "message": "Payment Successful" } ], "success": true}