Cancel - API Convenience Store
This uses by s to integrate cancel for 's used by . Transaction cancellation happens from either side or .
- If changes their mind after ing with and requests cancellation from before ing with .
- If there is a technical or non-technical issue when es 's .
s can use this so that number issue can't be used anymore.
number can only canceled before being paid before is executed.
If has ed with , paid bill can't be canceled or refunded to through .
The Cancel uses for cancel for s through .
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
01
02
03 Convenience Store
04
05
06
08
09
The following is a list of s for activating cancel for . These s use via platform.
Parameter | Type | Size | Description | Example / Notes |
---|---|---|---|---|
timeStamp Required | N | 14 | Request Timestamp | 20221212101278 |
tXid Required | AN | 30 | Transaction ID | IONPAYTEST03202212121030529316 |
iMid Required | AN | 10 | ID | IONPAYTEST |
payMethod Required | N | 2 | 03 | |
cancelType Required | N | 2 | | 1 |
cancelMsg | AN | 255 | Cancel Message | Request Cancel |
merchantToken Required | AN | 255 | Token | 49974dde3c4a311030bd2095431443ce3689d79c90caaa88f4186050abb77cf9 |
amt Required | N | 12 | Amount | 10000 |
preauthToken | AN | 100 | Pre-Auth Token | - |
Following are response s from results of request s for of ancel:
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 | Order Number | 815123412341 |
transDt | N | 8 | Transaction Date | 20221212 |
transTm | N | 6 | Transaction Time | 103052 |
description | AN | 255 | Description | test cancel |
amt | N | 12 | Amount | 10000 |