NICEPAY API
...
API E-Wallet
Cancel - API E-Wallet
13 min
tentang api e wallet cancel ini digunakan untuk membatalkan sudah dibayarkan jika dibatalkan sebelum selesai, maka tersebut dianggap void dan dana tersebut akan dikembalikan kepada api e wallet cancel cancel digunakan untuk cancel pada melalui 138,440,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 payment methods available for cancel code paymethod 01 02 03 04 05 e wallet e wallet 06 08 09 request parameters for e wallet cancel berikut ini adalah daftar untuk melakukan request cancel payment pada parameter ini digunakan melalui platform pengujian 144,51,81,156,301 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 parameter for e wallet cancel berikut adalah response parameter dari hasil request parameter untuk cancel handling 138,72,72,243,216 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 json for e wallet cancel json request { "timestamp" "20230523160830", "txid" "ionpaytest05202305231606153816", "imid" "ionpaytest", "paymethod" "05", "canceltype" "1", "cancelmsg" "request cancel", "merchanttoken" "68983e5991f96b187e91814b5f48e8f7947e975fbad9947ae126dc2cca7f2380", "amt" "2000", "cancelserverip" "127 0 0 1" } json response { "txid" "ionpaytest05202305231606153816", "referenceno" "20230523160324", "resultcd" "0000", "resultmsg" "success", "transdt" "20230523", "transtm" "160615", "description" "request cancel", "amt" "2000" } java request //cancel registration// nicepay settimestamp("20230523160830"); nicepay setimid("ionpaytest"); nicepay setamt("2000"); nicepay setreferenceno("20230523160324"); nicepay setmerchanttoken(nicepay maketoken(nicepay getmerchanttoken()); nicepay settxid("ionpaytest05202305231606153816"); nicepay setpaymethod("05"); nicepay setcanceltype("1"); nicepay setcancelmsg("request cancel"); nicepay setcancelserverip("127 0 0 1"); // 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");