NICEPAY API
...
API Convenience Store
Cancel - API Convenience Store
14 min
about api convenience store cancel 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 api convenience store cancel the cancel uses for cancel for s through 190,550,117 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type payment methods available for cancel code paymethod 01 02 03 convenience store convenience store 04 05 06 08 09 request parameters for convenience store cancel the following is a list of s for activating cancel for these s use via platform 165,61,69,171,297 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type response parameters for convenience store cancel following are response s from results of request s for of ancel 123,67,102,231,213 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type response parameter for convenience store cancel json request { 	"timestamp" "20221212101278", 	"txid" "ionpaytest03202212121030529316", 	"imid" "ionpaytest", 	"paymethod" "03", 	"canceltype" "1", 	"cancelmsg" "request cancel", 	"merchanttoken" "49974dde3c4a311030bd2095431443ce3689d79c90caaa88f4186050abb77cf9", 	"preauthtoken" "", 	"amt" "10000" } json response { "txid" "ionpaytest03202212121030529316", "referenceno" "815123412341", "resultcd" "0000", "resultmsg" "success", "transdt" "20221212", "transtm" "103052", "description" "test cancel", "amt" "10000" } java request //cancel registration// nicepay settimestamp("20221208091279"); nicepay setimid("ionpaytest"); nicepay setamt("5"); nicepay setmerchanttoken(nicepay maketoken(nicepay getmerchanttoken()); nicepay settxid("ionpaytest08202212080951090538"); nicepay setpaymethod("03"); nicepay setcanceltype("1"); nicepay setcancelmsg("request cancel"); // request cancel nicepay cancel(); // response string // system out println("final response string " + nicepay getresponsestring()); string resultcd = nicepay get("resultcd"); string resultmsg = nicepay get("resultmsg"); string txid = nicepay get("txid"); string referenceno = nicepay get("referenceno"); string amt = nicepay get("amt"); string cancelreferenceno = nicepay get("cancelreferenceno");