NICEPAY API
...
API Direct Debit
Cancel - API Direct Debit
13 min
about api direct debit cancel this uses by s to integrate cancel for api direct debit cancel the cancel is used for cancel for s via 164,559,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 direct debit cancel the following is a list of s to activate cancel for these s are used via platform 165,75,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 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type response parameters for direct debit cancel following are response s from results of request s for of to cancel 175,68,73,199,226 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 sample parameter for direct debit cancel json request { "timestamp" "20230515141929", "txid" "tnicecp04104202305151417238166", "imid" "tnicecp041", "paymethod" "04", "canceltype" "1", "cancelmsg" "request cancel", "merchanttoken" "89fa33ec4c17f5048e69c404b42d07005f1dd6ab64354c583d04670cf9690ed8", "preauthtoken" "", "amt" "10000", "cancaluserid" "admin" } json response { "txid" "tnicecp04104202305151417238166", "referenceno" "20230515141702", "resultcd" "0000", "resultmsg" "success", "transdt" "20230515", "transtm" "141723", "amt" "2000", "cancelreferenceno" "cancelno20230515141702" } java request //cancel registration// nicepay settimestamp("20230515141929"); nicepay setimid("tnicecp041"); nicepay setamt("2000"); nicepay setmerchanttoken(nicepay maketoken(nicepay getmerchanttoken()); nicepay settxid("tnicecp04104202305151417238166"); nicepay setpaymethod("04"); nicepay setcanceltype("1"); nicepay setcancelmsg("request cancel"); nicepay setcancaluserid("admin"); // 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");