Cancel - API Convenience Store
This uses by s to integrate cancel for 's used by . Transaction cancellation happens from either side or .
API End Point | /nicepay/direct/v2/cancel |
Request Method | POST |
Header | Content-Type: application/json |
Merchant Token | SHA256(timeStamp+iMid+tXid+amt+merchantKey) |
Request Format | application/json |
Code PayMethod
03 Convenience Store
Parameter | Type | Size | Description | Example / Notes |
timeStamp Required | N | 14 | 20221212101278 | |
tXid Required | AN | 30 | Transaction ID | IONPAYTEST03202212121030529316 |
iMid Required | AN | 10 | IONPAYTEST | |
payMethod Required | N | 2 | 03 | |
cancelType Required | N | 2 | | 1 |
cancelMsg | AN | 255 | Cancel Message | Request Cancel |
merchantToken Required | AN | 255 | 49974dde3c4a311030bd2095431443ce3689d79c90caaa88f4186050abb77cf9 | |
amt Required | N | 12 | 10000 | |
preauthToken | AN | 100 | Pre-Auth Token | - |
Parameter | Type | Size | Description | Example / Notes |
resultCd | N | 4 | Result Code | 0000 |
resultMsg | AN | 255 | Result Message: Error Code | SUCCESS |
tXid | AN | 30 | Transaction ID | IONPAYTEST03202212121030529316 |
referenceNo | ANS | 40 | 815123412341 | |
transDt | N | 8 | Transaction Date | 20221212 |
transTm | N | 6 | Transaction Time | 103052 |
description | AN | 255 | Description | test cancel |
amt | N | 12 | Amount | 10000 |