Payin Query
Request URL
| method | url |
|---|---|
| POST | /api/pay/payment/query/v1 |
Headers
| Header Parameter | Description |
|---|---|
| timestamp | Request timestamp |
| nonce | Random string |
| country | Country code (e.g., KR) |
| 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
| Field | Type | Required | Length | Description |
|---|---|---|---|---|
| merchantOrderNo | String | Yes | 32 | Merchant order ID |
| tradeNo | String | Yes | Platform order ID | |
| paymentType | Integer | Yes | Payment Method ใ801: VAใ | |
| transactionAmount | String | Yes | Transaction amount | |
| amount | String | Yes | Amount received | |
| status | String | Yes | Order Status ใ1: Payment in Progress; 2: Payment Successful; 3: Payment Failedใ | |
| serviceAmount | String | Yes | Service Fee ใe.g.: 18.02ใ | |
| paymentInfo | String | Yes | Main Payment Information; returns the actual information used for payment | |
| errorMessage | String | No | Error Message for Failed Orders | |
| statementList | Object[] | No | Payment transaction records | |
| โโ paymentSingleOrderNo | String | Yes | Single transaction ID | |
| โโ paymentStatementAmount | String | Yes | Amount of this transaction | |
| โโ paymentStatementStatus | Integer | Yes | Single collection transaction status ใ2: Collection successful 3: Payment failedใ | |
| โโ paymentStatementStatusName | String | Yes | Transaction status name | |
| โโ serviceAmount | String | Yes | Service fee = fixed fee + transaction amount ร service rate | |
| โโ serviceRate | String | Yes | Service rate | |
| โโ immService | String | Yes | Fixed service fee | |
| โโ paymentType | Integer | Yes | Actual payment method | |
| โโ completeTime | String | Yes | Completion time in current country timezone, format: yyyy-MM-dd HH:mm:ss |
{ "code": 200, "data": { "merchantOrderNo": "OrderNoExample", "amount": "1000.00", "transactionAmount": "1000.00", "tradeNo": "TS2501010001KR0000000000000000", "paymentType": 801, "paymentInfo": "29900000000000", "status": 2, "serviceAmount": "30.00", "statementList": [ { "paymentSingleOrderNo": "TSOPaymentOrderNoExample1", "paymentStatementAmount": "1000.00", "paymentStatementStatus": 2, "paymentStatementStatusName": "ไปฃๆถๆๅ", "completeTime": "2025-01-01 00:00:00", "serviceAmount": "30.00", "serviceRate": "0.0100", "immService": "5.00", "paymentType": 801 } ] }, "msg": "success", "traceId": "0801113131dd4951a36d19022a31b303.94.17423567008990449"}