NICEPAY API
...
API Direct Debit
Cancel - API Direct Debit
13 min
about api direct debit cancel this {{api}} uses by {{merchant}} s to integrate {{the}} cancel {{system}} for {{directdebit}} {{paymethod}} api direct debit cancel the {{directdebit}} cancel {{api}} is used for {{the}} cancel {{system}} for {{payment}} s via {{directdebit}} 164,559,117 false false 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 {{cc}} 02 {{va}} 03 convenience store convenience store 04 {{directdebit}} 05 {{ewallet}} 06 {{payloan}} 08 {{qris}} 09 {{gpn}} request parameters for direct debit cancel the following is a list of {{parameter}} s to activate {{the}} cancel {{system}} for {{the}} {{directdebit}} {{paymethod}} these {{parameter}} s are used via {{the}} {{api}} {{testing}} platform 165,75,69,171,297 false 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 {{the}} response {{parameter}} s from {{the}} results of {{the}} request {{parameter}} s for {{integration}} of {{the}} {{directdebit}} to cancel 175,68,73,199,226 false 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");