NICEPAY API
...
API Virtual Account
Cancel - API Virtual Account
14 min
tentang api virtual account cancel ini digunakan untuk mengintegrasikan pembatalan pada pembatalan dapat terjadi baik dari sisi maupun jika berubah pikiran setelah melakukan suatu pemesanan dan mengajukan pembatalan kepada sebelum melakukan jika pada saat melakukan pada pesanan terjadi kendala baik teknis maupun non teknis dapat menggunakan ini agar sudah terbit tidak bisa digunakan nomor sudah dibuat hanya dapat dibatalkan sebelum berlangsung via apabila sudah melakukan , tagihan sudah dibayarkan tidak bisa dibatalkan atau dilakukan pengembalian dana pada melalui api virtual account cancel cancel digunakan untuk melakukan pembatalan pada nomor 190,552,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 virtual account virtual account 03 04 05 06 08 09 request parameters for virtual account cancel berikut ini adalah daftar untuk mengaktifkan pembatalan pada parameter ini digunakan melalui platform pengujian 156,60,79,168,264 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 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type 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 virtual account cancel berikut adalah response dari hasil request untuk cancel 183,54,81,252,168 9 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 virtual account cancel json request { "timestamp" "20220623100659", "imid" "normaltest", "txid" "normaltest02202212150941111979", "paymethod" "02", "merchanttoken" "94acd9768557df77de675b7b97658d6a743cc0675f4eb681c871c4e1b56c0b0f", "amt" "10000", "canceltype" "1", "cancelmsg" "testing cancel of virtual account", "canceluserid" "", "canceluserip" "127 0 0 1", "cancelserverip" "127 0 0 1", "canceluserinfo" "", "cancelretrycnt" "", "worker" "" } json response { "txid" "normaltest02202212150941111979", "referenceno" "ordno20221215091261", "resultcd" "0000", "resultmsg" "success", "transdt" "20221215", "transtm" "094111", "description" "testing cancel of virtual account, "amt" "10000" } java request //virtual account cancel// nicepay settimestamp("20220623100659"); nicepay settxid("normaltest02202212150941111979"); nicepay setimid("normaltest"); nicepay setpaymethod("02"); nicepay setmerchanttoken(nicepay maketoken(nicepay getmerchanttoken()); nicepay setamt("10000"); nicepay setcanceltype("1"); nicepay setcancelmsg("testing cancel of virtual account"); nicepay setcanceluserip("127 0 0 1"); nicepay setcancelserverip("127 0 0 1"); //request virtual account cancel nicepay vacancel(); // 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 description = nicepay get("description"); string amt = nicepay get("amt"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm");