Status Inquiry - API Convenience Store
Integration of the Status Inquiry API into the convenience store is necessary so that Merchants can check the ongoing status of the transaction process carried out by the Customer, whether the status is successful, failed or failed, and others. So that the system can have a report on that information.
Integration of Inquiry status at Convenience Stores aims to enable Merchants to connect with the API system to check the status of Convenience Store payment methods on a regular basis.
API Endpoint | /nicepay/direct/v2/inquiry |
Request Method | POST |
Description | Performs Inquiry Request to NICEPAY for Status Checking |
Merchant Token | SHA256(timeStamp+iMid+referenceNo+amt+merchantKey) |
Request Format | application/json |
When your dbProcessUrl received a notification, we strongly encourage Merchants to verify the notification using the Status Inquiry - API Convenience Store.
Notification Handling is very useful to minimize the risk of Fraud. We strongly encourage Merchants to verify Notification Handling through Notification - API Convenience Store.
The following is a list of parameters for requesting a status inquiry on a convenience store transaction process.
Parameter | Type | Size | Description | Example / Notes |
timeStamp Required | N | 14 | Request Timestamp (YYYYMMDDHH24MISS) | 20221012080918 |
tXid Required | AN | 30 | Transaction Id | IONPAYTEST00202212091011228108 |
iMid Required | AN | 10 | Merchant ID | IONPAYTEST |
referenceNo Required | ANS | 40 | Merchant Order No | ORDER20221012080918 |
amt Required | N | 12 | Transaction Amount | 1 |
merchantToken Required | AN | 255 | merchant token | 666b397e7bce1d65e2cc553205ebab7330f9b2da8293b02c342279c1b6999ceb |
The following is a list of responses to requests for status inquiry in the Convenience Store transaction process.
Parameter | Type | Size | Description | Example / Notes |
resultCd | N | 4 | 0000 | |
resultMsg | AN | 255 | Result Message: Error Code | unpaid |
tXid | AN | 30 | Transaction ID | IONPAYTEST00202212091011228108 |
iMid | AN | 10 | Merchant Id | IONPAYTEST |
referenceNo | ANS | 40 | Merchant Ref. No | ORDER20221012080918 |
payMethod | N | 2 | 03 | |
amt | N | 12 | Payment Amount | 1 |
CancelAmt | N | 12 | Cancel amount | |
reqDt | N | 8 | Transaction request date (YYYYMMDD) | 20221209 |
reqTm | N | 6 | Transaction request time (HH24MISS) | 101122 |
transDt | N | 8 | Transaction Date (YYYYMMDD) | |
transTm | N | 6 | Transction Time (HH24MISS) | |
depositDt | N | 8 | Transaction deposit date (YYYYMMDD) | |
depositTm | N | 6 | Transaction deposit time (HH24MISS) | |
currency | A | 3 | Currency | IDR |
goodsNm | AN | 100 | Goods Name | Test Transaction Nicepay |
billingNm | A | 100 | Buyer name | John Doe |
status | N | 1 | 3 |
The following is additional response list information from request status inquiry in other transaction processes.
Parameter | Type | Size | Description | Example / Notes |
mitraCd | A | 4 | Mitra Code (CVS, Direct Debit, E-Wallet, Payloan) | ALMA |
payNo | N | 12 | CVS number (CVS) | 9041091011228108 |
payValidDt | N | 8 | CVS expiry date (YYYYMMDD) (CVS) | 20221216 |
payValidTm | N | 6 | CVS expiry time (HH24MISS) (CVS) | 235959 |
receiptCode | ANS | 20 | Authorization code (CVS)
| |
mRefNo | AN | 20 | Bank reference No (Direct Debit) | |