NICEPAY API
...
V1 Enterprise
Credit Card - V1 Enterprise
56 min
credit card langkah langkah {{transaksi}} request onepasstoken redirect untuk {{halaman}} 3ds / migs {{pelanggan}} memasukkan otp pada {{halaman}} 3ds {{merchant}} mendaftarkan {{transaksi}} {{nicepay}} mengirimkan {{notifikasi}} credit card flow v1 enterprise alur {{kartukredit}} {{pelanggan}} melakukan checkout {{pelanggan}} mengajukan checkout kepada {{merchant}} {{merchant}} mendaftarkan data checkout {{merchant}} mengirimkan response berupa formulir data kartu kepada {{pelanggan}} {{pelanggan}} memasukkan data kartu {{pelanggan}} mengirimkan {{informasi}} data kartu kepada {{merchant}} {{merchant}} mengirimkan request menggunakan {{api}} regist kepada {{nicepay}} {{nicepay}} menyimpan data pesanan {{nicepay}} mengirimkan response kepada {{merchant}} {{merchant}} mengajukan {{pembayaran}} menggunakan {{api}} {{paymentproduct}} kepada {{nicepay}} {{nicepay}} mengajukan 3ds kepada {{bank}} {{bank}} melakukan verifikasi pengajuan {{bank}} mengirimkan response 3ds url kepada {{nicepay}} {{nicepay}} mengirimkan {{halaman}} autentikasi 3ds kepada {{pelanggan}} {{bank}} mengirimkan otp kepada {{pelanggan}} {{pelanggan}} memasukkan otp dan mengirim data tersebut kepada {{bank}} {{bank}} melakukan validasi otp {{bank}} mengirimkan hasil 3ds kepada {{nicepay}} {{nicepay}} melakukan kalkulasi fds {{nicepay}} mengajukan {{pembayaran}} kepada {{bank}} {{bank}} melakukan {{proses}} {{pembayaran}} {{bank}} mengirimkan response {{pembayaran}} kepada {{nicepay}} {{nicepay}} mengirimkan {{notifikasi}} {{pembayaran}} menggunakan callbackurl dan dbprocessurl kepada {{merchant}} {{merchant}} menerima {{notifikasi}} {{merchant}} mengajukan pemeriksaan {{status}} kepada {{nicepay}} {{nicepay}} mengirimkan response hasil pemeriksaan {{status}} kepada {{merchant}} {{merchant}} menerima {{status}} terakhir {{merchant}} mengirimkan hasil pesanan kepada {{pelanggan}} request token {{merchant}} wajib melakukan request onepasstoken untuk setiap {{transaksi}} credit card menggunakan {{api}} v1 enterprise api specifications request token api endpoint /nicepay/api/onepasstoken do method application/x www form urlencoded application/x www form urlencoded post post description request onepasstoken for {{cc}} transaction merchant token sha256 ( imid + referenceno + amt + merchantkey ) request parameter request token parameter di bawah ini harus dikirim dalam {{parameter}} ' jsondata ' dan dengan format json token request curl location request post 'https //www nicepay co id/nicepay/api/onepasstoken do' \\ \ header 'content type application/x www form urlencoded' \\ \ data urlencode 'jsondata={"imid" "ionpaytest","referenceno" "merchantreferencenumber001","amt" "10000","cardholdernm" "john doe","cardholderemail" "johndoe\@gmail com","cardno" "5123450000000008","cardexpyymm" "3901","merchanttoken" "f5d1a08fd497bf3f39e9a0027c0a6822109903cd95140c36db537b5977fb9652"} parameter tipe ukuran deskripsi contoh / catatan imid required required an 10 {{merchant}} id ionpaytest merchanttoken required required an 255 {{merchant}} token f5d1a08fd497bf3f39e9a0027c0a6822109903cd95140c36db537b5977fb9652 cardno required required n 16 card number 5123450000000008 cardexpyymm required required n 4 card expiry ( yymm ) 3901 cardholdernm required required an 45 card holder name john doe only alphabet allowed cardholderemail required required ans 100 card holder email johndoe\@gmail com amt required required n 12 {{paymentproduct}} amount 10000 referenceno required required ans 40 {{merchant}} order number merchantreferencenumber001 instmnttype n 2 docid\ pnv6uw k42cisgzemke y 1 instmntmon n 2 installment month 1 response parameter request token sample response token { "resultcd" "0000", "cardtoken" "c3a4e1223361ce6b0ab92d9248152ebeb02ad1a8274ac20599d25da1d755254b", "resultmsg" "success", "paymenttype" "1" } parameter tipe ukuran deskripsi resultcd n 4 docid\ pnv6uw k42cisgzemke y resultmsg an 255 docid\ pnv6uw k42cisgzemke y cardtoken an 64 one time use transaction token paymenttype n 1 cc authorization type mohon untuk memperhatikan {{parameter}} paymenttype dari response onepasstoken do ini akan diperlukan tahap selanjutnya untuk menentukan menggunakan 3ds atau migs paymenttype deskripsi 1 3d secure 2 keyin (proceed to registration without 3ds / migs) 3 migs 3ds request gunakan {{api}} ini jika mendapatkan paymenttype = 1 dari response onepasstoken do langkah langkah 3ds kirim request parameter ke 3ds request {{api}} pembeli akan redirect ke {{halaman}} 3ds pembeli input otp {{nicepay}} akan mengirimkan response parameter ke callbackurl api specifications 3ds api endpoint /nicepay/api/secureverequest do method application/x www form urlencoded application/x www form urlencoded pop up pop up or redirect redirect description request 3d {{page}} for paymenttype = 1 merchant token sha256 ( imid + referenceno + amt + merchantkey ) request parameter 3ds sample request 3ds https //www nicepay co id/nicepay/api/secureverequest do?country={{country}}\&callbackurl={callbackurl}\&onepasstoken={onepasstoken} parameter tipe ukuran deskripsi contoh / catatan country required required n 3 country 360 callbackurl required required ans 200 callback url https //merchant com/callback onepasstoken required required an 64 one time use transaction token d12b153b3dd50b1875e64ac17288a7cd33fd5511cf01924cac2ca7f345de8f08 response parameter 3ds sample response 3ds https //www merchant com/callbackurl?resultcd={resultcd}\&resultmsg={resultmsg}\&referenceno={referenceno}\&merchanttoken={merchanttoken} parameter tipe ukuran deskripsi resultcd n 4 docid\ pnv6uw k42cisgzemke y resultmsg an 255 docid\ pnv6uw k42cisgzemke y referenceno ans 40 {{merchant}} order number merchanttoken an 255 {{merchant}} token migs request migs ( mastercard internet gateway service ) adalah sebuah {{layanan}} dari mastercard untuk melakukan pengembalian dana dan memantau laporan {{transaksi}} berdasarkan {{transaksi}} antara {{merchant}} dan {{pelanggan}} saat ini, {{nicepay}} menggunakan mpgs ( mastercard payment gateway service ) {{yang}} merupakan versi terbaru dari migs untuk meningkatkan keamanan {{transaksi}} dengan fitur 3ds 2 0 meskipun demikian, {{api}} migs masih dapat digunakan dalam {{sistem}} mpgs gunakan {{api}} ini jika mendapatkan paymenttype = 3 dari response onepasstoken do langkah langkah kirim request parameter ke migs request {{api}} pembeli akan redirect ke {{halaman}} migs pembeli input otp {{nicepay}} akan mengirimkan response parameter ke callbackurl api specifications migs api endpoint /nicepay/api/migsrequest do method application/x www form urlencoded application/x www form urlencoded post post or redirect redirect description request migs {{page}} for paymenttype = 3 merchant token sha256 ( imid + referenceno + amt + merchantkey ) payment methods 01 {{cc}} request parameter migs sample request migs https //www nicepay co id/nicepay/api/migsrequest do?instmnttype=1\&instmntmon=1\&referenceno={referenceno}\&cardcvv={cardcvv}\&callbackurl={callbackurl}\&onepasstoken={onepasstoken} parameter tipe ukuran deskripsi contoh / catatan instmnttype required required n 2 docid\ pnv6uw k42cisgzemke y 1 instmntmon n 2 installment month 1 referenceno required required ans 40 {{merchant}} order number merchantreferencenumber001 cardcvv n 3 card cvv 100 callbackurl required required ans 200 callback url for result http //merchant com/callbackurl onepasstoken required required an 64 one time use transaction token d12b153b3dd50b1875e64ac17288a7cd33fd5511cf01924cac2ca7f345de8f08 response parameter migs sample response migs https //www merchant com/callbackurl?resultcd={resultcd}\&resultmsg={resultmsg}\&referenceno={referenceno}\&merchanttoken={merchanttoken} parameter tipe ukuran deskripsi resultcd n 4 docid\ pnv6uw k42cisgzemke y resultmsg an 255 docid\ pnv6uw k42cisgzemke y credit card payment api specifications credit card payment api endpoint /nicepay/api/onepass do method application/x www form urlencoded application/x www form urlencoded post post description mendaftarkan transaksi dan melakukan charge {{cc}} menggunakan onepasstoken merchant token sha256 ( imid + referenceno + amt + merchantkey ) payment methods 01 {{cc}} request parameter credit card payment sample request payment imid "ionpaytest" paymethod "01" currency "idr" amt "10000" referenceno "merchantreferencenumber001" goodsnm "merchant goods 1" billingnm "john doe" billingphone "08123456789" billingemail "john doe\@example com" billingaddr "jln raya kasablanka kav 88" billingcity "south jakarta" billingstate "dki jakarta" billingpostcd "10200" billingcountry "indonesia" callbackurl "https //www merchant com/callbackurl/" dbprocessurl "https //www merchant com/dbprocessurl/" description "this is the description of the payment" merchanttoken "2349fcbd3a5b81d08ca719cc6d9c826f2f6f9d4de337b86e4019114aad6222b1" userip " 1" cartdata "{}" instmnttype "1" instmntmon "1" onepasstoken "9338d54573688ae18e175240b0257de48d89c6ef1c9c7b5c094dc4beed9e435f" cardcvv "100" recurropt "1" sample java request credit card // payment mandatory field nicepay setpaymethod("01"); nicepay setcurrency("idr"); nicepay setamt("10000"); nicepay setinstmntmon("1"); nicepay setreferenceno("merchantreferencenumber001"); nicepay setgoodsnm("merchant goods 1"); nicepay setbillingnm("john doe"); nicepay setbillingemail("john doe\@example com"); nicepay setbillingphone("08123456789"); nicepay setbillingaddr("jln raya kasablanka kav 88"); nicepay setbillingcity("south jakarta"); nicepay setbillingstate("dki jakarta"); nicepay setbillingpostcd("10200"); nicepay setbillingcountry("indonesia"); nicepay setdeliverynm("merchant's name"); nicepay setdeliveryphone("08123456789"); nicepay setdeliveryaddr("jln dr saharjo no 88"); nicepay setdeliverycity("south jakarta"); nicepay setdeliverystate("dki jakarta"); nicepay setdeliverypostcd("10201"); nicepay setdeliverycountry("indonesia"); nicepay setcallbackurl(merchantdomain + "callback"); nicepay setdbprocessurl(merchantdomain + "dbprocess"); nicepay setvat("0"); nicepay setfee("0"); nicepay setnotaxamt("0"); nicepay setdescription("this is the description of the payment"); nicepay setuserip("127 0 0 1"); nicepay setmerchanttoken(nicepay maketoken(nicepay getamt(), nicepay getreferenceno())); nicepay setcartdata("{}"); nicepay setinstmntmon("1"); nicepay setinstmnttype("1"); nicepay setrecurropt("1"); // for recurring only nicepay setcardcvv("100"); nicepay setonepasstoken("9338d54573688ae18e175240b0257de48d89c6ef1c9c7b5c094dc4beed9e435f"); nicepay setcardexpyymm("3901") // payment optional field nicepay setreqdt("20230516"); nicepay setreqtm("135959"); nicepay setreqdomain("merchant com"); nicepay setreqserverip("127 0 0 1"); nicepay setreqclientver("1 0"); nicepay setusersessionid("usersessionid"); nicepay setuseragent("mozilla"); nicepay setuserlanguage("en us"); nicepay setmerfixacctid("00000001"); nicepay setpaymentexpirydt("20230531"); nicepay setpaymentexpirytm("235959"); // payment request nicepay payment(); // payment response system out println("response string " + nicepay getresponsestring()); // json in string format string cctranstype = nicepay get("cctranstype"); string fee = nicepay get("fee"); string txid = nicepay get("txid"); string description = nicepay get("description"); string notaxamt = nicepay get("notaxamt"); string cardno = nicepay get("cardno"); string issubankcd = nicepay get("issubankcd"); string cardexpyymm = nicepay get("cardexpyymm"); string acqubanknm = nicepay get("acqubanknm"); string paymethod = nicepay get("paymethod"); string callbackurl = nicepay get("callbackurl"); string instmntmon = nicepay get("instmntmon"); string currency = nicepay get("currency"); string issubanknm = nicepay get("issubanknm"); string resultcd = nicepay get("resultcd"); string amount = nicepay get("amount"); string goodsnm = nicepay get("goodsnm"); string referenceno = nicepay get("referenceno"); string transtm = nicepay get("transtm"); string authno = nicepay get("authno"); string recurringtoken = nicepay get("recurringtoken"); //only for recurring string preauthtoken = nicepay get("preauthtoken"); //only for pre auth string vat = nicepay get("vat"); string instmnttype = nicepay get("instmtntype"); string resultmsg = nicepay get("resultmsg"); string billingnm = nicepay get("billingnm"); string acqubankcd = nicepay get("acqubankcd"); string transdt = nicepay get("transdt"); parameter tipe ukuran deskripsi contoh / catatan imid required required an 2 {{merchant}} id ionpaytest paymethod required required n 2 docid\ pnv6uw k42cisgzemke y 01 currency required required a 40 currency idr amt required required n 12 goods amount 10000 referenceno required required ans 40 {{merchant}} order number merchantreferencenumber001 goodsnm required required an 100 goods name {{merchant}} goods 1 billingnm required required a 30 billing name john doe billingphone required required n 15 billing phone number 08123456789 billingemail required required ans 40 billing e mail john doe\@example com billingcity required required n 50 billing city south jakarta billingstate required required a 50 billing state dki jakarta billingpostcd required required n 10 billing post number 10200 billingcountry required required a 10 billing country {{indonesia}} callbackurl required required ans 255 {{paymentproduct}} result forward url (on browser) https //www mechant com/callbackurl dbprocessurl required required ans 255 {{paymentproduct}} result receive url (server side) https //www merchant com/dbprocessurl description required required an 100 description this is the description of the {{paymentproduct}} merchanttoken required required an 255 {{merchant}} token 2349fcbd3a5b81d08ca719cc6d9c826f2f6f9d4de337b86e4019114aad6222b1 userip required required ans 15 user ip 127 0 0 1 cartdata required required ans 4000 cart data (json format) {} instmnttype required required n 2 docid\ pnv6uw k42cisgzemke y 1 instmntmon required required n 2 installment month 1 cardcvv n 3 card cvv 100 onepasstoken required required an 64 one time use transaction token 9338d54573688ae18e175240b0257de48d89c6ef1c9c7b5c094dc4beed9e435f recurropt required for recurring cc required for recurring cc n 2 0 automatic cancel 1 do not cancel 2 do not make token 1 billingaddr an 100 billing address jln raya kasablanka kav 88 deliverynm a 30 delivery name {{merchant}} 's name deliveryphone n 15 delivery phone 08123456789 deliveryaddr an 100 delivery address jln dr saharjo no 88 deliveryemail an 100 delivery e mail example\@merchant com deliverycity a 50 delivery city south jakarta deliverystate a 50 delivery state dki jakarta deliverypostcd n 10 delivery post number 10201 deliverycountry a a delivery country {{indonesia}} vat n 12 {{vat}} 0 fee n 12 service tax 0 notaxamt n 12 tax free amount 0 reqdt n n request date ( yyyymmdd ) 20230516 reqtm n n request time ( hh24miss ) 135959 reqdomain ans 100 request domain www merchant com reqserverip ans 15 request server ip 127 0 0 1 reqclientver ans 50 request client version 1 0 usersessionid an 100 user session id usersessionid useragent ans 100 user agent information mozilla userlanguage ans 2 user language en us response parameter credit card payment sample response payment { "cctranstype" "1", "fee" null, "txid" "ionpaytest01202305162316067832", "description" "description", "notaxamt" null, "cardno" "51234500 0008", "issubankcd" "cena", "preauthtoken" null, "cardexpyymm" "3901", "acqubanknm" "cimb", "paymethod" "01", "callbackurl" "https //www merchant com/callback/", "instmntmon" "1", "currency" "idr", "issubanknm" "bca", "resultcd" "0000", "amount" "10000", "goodsnm" "merchant goods 1", "referenceno" "merchantreferencenumber001", "transtm" "231641", "authno" "041385", "recurringtoken" "88cb7e30c531429a95fb2af442f591b75939fd0387288af2dc2340c50776d84a" //only for recurring, "preauth" "c2921cc7a1967f905fd4f895f22f06c02d24adf8c9f7b169d6ef0c2c0b128549" //only for preauth, "vat" null, "instmnttype" "1", "resultmsg" "success", "billingnm" "john doe", "acqubankcd" "bnia", "transdt" "20230516" } parameter tipe ukuran deskripsi resultcd n 4 docid\ pnv6uw k42cisgzemke y resultmsg an 255 docid\ pnv6uw k42cisgzemke y txid an 30 transaction id referenceno ans 40 {{merchant}} order number paymethod n 2 docid\ pnv6uw k42cisgzemke y amount n 12 transaction amount currency an 3 currency goodsnm n 100 goods name billingnm n 30 buyer name transdt n 8 transaction date ( yyyymmdd ) transtm n 6 transaction time ( hh24miss ) description an 100 transaction description callbackurl ans 100 callback url authno n 10 authorization number issubankcd a 4 docid\ pnv6uw k42cisgzemke y issubanknm a 255 issuing {{bank}} name acqubankcd a 4 docid\ pnv6uw k42cisgzemke y acqubanknm a 255 acquiring {{bank}} name cardno ans 20 card number with masking instmntmon n 2 installment month instmnttype n 2 docid\ pnv6uw k42cisgzemke y recurringtoken an 64 token for recurring {{paymentproduct}} preauthtoken an 64 token for pre auth {{paymentproduct}} cctranstype n 2 docid 5kylpx5mpjsl96c8mhoik vat n 12 {{vat}} number fee n 12 service fee notaxamt n 12 tax free amount credit card recurring saat {{merchant}} menandatangani kontrak sebagai recurring , {{nicepay}} memberikan recurringtoken ke response {{api}} pembayaran {{merchant}} dapat menggunakan recurringtoken untuk permintaan {{api}} pembayaran berikutnya tanpa memasukan detail kartu, kecuali cvv ( mandatory ) recurring issue untuk melakukan pembayaran recurring, {{sistem}} membutuhkan recurringtoken milik {{pelanggan}} agar dapat menggunakan {{informasi}} {{pelanggan}} secara berkala tanpa harus memasukkan data kartu berkali kali recurringtoken didapatkan setelah {{pelanggan}} melakukan {{pembayaran}} untuk pertama kali berikut adalah langkah untuk mendapatkan recurringtoken {{pelanggan}} akan memasukkan data kartu berupa cardno dan exymmyy melalui {{api}} request token ( onepasstoken do ) {{pelanggan}} akan mendapatkan cardtoken proses {{pembayaran}} dengan recurring pada v1 enterprise terbagi menjadi 2, yaitu direct 3ds dan direct non 3ds jika melalui {{proses}} 3ds, maka data kartu akan melalui verifikasi keamanan dari {{api}} 3ds request ( secureverequest do ) berupa otp serta keamanan fds ( fraud detection system ) {{nicepay}} jika tidak melalui {{proses}} 3ds, maka tidak akan melalui verifikasi keamanan {{pelanggan}} melakukan {{pembayaran}} dengan {{api}} {{cc}} {{paymentproduct}} ( onepass do ) dan mendapatkan recurringtoken untuk melakukan {{pembayaran}} dengan secara berkala api specification recurring issue api endpoint /nicepay/api/recurringtoken do method application/x www form urlencoded application/x www form urlencoded post post description recurringtoken do hampir sama dengan onepasstoken do bedanya apakah menggunakan info kartu atau recurring token merchant token sha256 ( merchant id + reference number + amount + merchant key ) request parameter recurring issue parameter di bawah ini harus dikirim dalam {{parameter}} ' jsondata ' dan dengan format json sample request recurring issue curl location request post 'https //www nicepay co id/nicepay/api/onepasstoken do' \\ \ header 'content type application/x www form urlencoded' \\ \ data urlencode 'jsondata={"imid" "ionpaytest","merchanttoken" "baf19eaed10d8539498cbe06ed19c50a60a587416d9c980abbb3c06b4eee51f5","referenceno" "merchantreferencenumber001","amt" "10000","recurringtoken" "88cb7e30c531429a95fb2af442f591b75939fd0387288af2dc2340c50776d84a","instmnttype" "1","instmntmon" "1","cardholdernm" "john doe","cardholderemail" "johndoe\@gmail com"}' parameter tipe ukuran deskripsi contoh / catatan amt required required n 12 amount 10000 referenceno required required an 40 {{merchant}} order number merchantreferencenumber001 merchanttoken required required an 255 {{merchant}} token baf19eaed10d8539498cbe06ed19c50a60a587416d9c980abbb3c06b4eee51f5 imid required required an 10 {{merchant}} id ionpaytest recurringtoken required required an 100 recurring token 88cb7e30c531429a95fb2af442f591b75939fd0387288af2dc2340c50776d84a instmnttype required required an 2 docid\ pnv6uw k42cisgzemke y 1 instmntmon required required n 2 installment month 1 cardholdernm required required an 45 card holder name john doe only alphabet allowed cardholderemail required required ans 100 card holder email johndoe\@gmail com response parameter recurring issue sample response parameter { "resultcd" "0000", "cardtoken" "9338d54573688ae18e175240b0257de48d89c6ef1c9c7b5c094dc4beed9e435f", "resultmsg" "success", "paymenttype" "1" } parameter tipe ukuran deskripsi contoh / catatan resultcd n 4 docid\ pnv6uw k42cisgzemke y 0000 resultmsg an 255 docid\ pnv6uw k42cisgzemke y success cardtoken an 64 recurring token 9338d54573688ae18e175240b0257de48d89c6ef1c9c7b5c094dc4beed9e435f paymenttype an 1 docid\ pnv6uw k42cisgzemke y 1 3ds 2 keyin recurring payment setelah mendapatkan recurringtoken dari {{pembayaran}} pertama yang berhasil atau hasil {{proses}} pendaftaran kartu, {{sistem}} akan menggunakan recurringtoken tersebut untuk melakukan {{pembayaran}} pada jadwal berikutnya berikut adalah langkah {{pembayaran}} pada {{sistem}} dalam menggunakan recurringtoken {{masukkan}} recurringtoken {{yang}} didapatkan dari {{proses}} {{pembayaran}} pertama ( onepass do ) atau hasil {{proses}} pendaftaran kartu ( tokenize do ) kemudian, cardtoken akan didapatkan dan disimpan pada database untuk digunakan pada {{pembayaran}} selanjutnya khusus {{proses}} 3ds, data kartu akan melalui verifikasi keamanan dari {{api}} 3ds request ( secureverequest do ) berupa otp serta keamanan fds ( fraud detection system ) {{nicepay}} dengan menggunakan cardtoken {{yang}} didapatkan dari langkah sebelumnya pembayaran akan dilakukan menggunakan {{api}} recurring {{paymentproduct}} ( recurringtrans do ) proses ini akan terus berjalan selama masa recurring berlaku pada {{pembayaran}} recurring berikutnya, recurringtoken {{yang}} akan digunakan berasal dari recurringtoken do onepass do hanya digunakan pada saat {{pembayaran}} recurring pertama kali api specifications recurring payment api endpoint /nicepay/api/recurringtrans do method application/x www form urlencoded application/x www form urlencoded post post merchant token sha256( merchant id + reference number + amount + merchantkey ) deskripsi {{api}} pembayaran untuk {{kartukredit}} recurring atau {{pembayaran}} menggunakan recurring token request parameter recurring payment sample request recurring payment imid "ionpaytest" paymethod "01" currency "idr" amt "10000" referenceno "merchantreferencenumber001" goodsnm "merchant goods 1" billingnm "john doe" billingphone "08123456789" billingemail "john doe\@example com" billingaddr "jln raya kasablanka kav 88" billingcity "south jakarta" billingstate "dki jakarta" billingpostcd "10200" billingcountry "indonesia" callbackurl "https //www merchant com/callbackurl/" dbprocessurl "https //www merchant com/dbprocessurl/" description "this is the description of the payment" merchanttoken "2349fcbd3a5b81d08ca719cc6d9c826f2f6f9d4de337b86e4019114aad6222b1" userip " 1" cartdata "{}" instmnttype "1" instmntmon "1" recurringtoken "88cb7e30c531429a95fb2af442f591b75939fd0387288af2dc2340c50776d84a" cardcvv "100" recurropt "1" sample java request recurring paymen // payment mandatory field nicepay setpaymethod("01"); nicepay setcurrency("idr"); nicepay setamt("10000"); nicepay setinstmntmon("1"); nicepay setreferenceno("merchantreferencenumber001"); nicepay setgoodsnm("merchant goods 1"); nicepay setbillingnm("john doe"); nicepay setbillingemail("john doe\@example com"); nicepay setbillingphone("08123456789"); nicepay setbillingaddr("jln raya kasablanka kav 88"); nicepay setbillingcity("south jakarta"); nicepay setbillingstate("dki jakarta"); nicepay setbillingpostcd("10200"); nicepay setbillingcountry("indonesia"); nicepay setdeliverynm("merchant's name"); nicepay setdeliveryphone("08123456789"); nicepay setdeliveryaddr("jln dr saharjo no 88"); nicepay setdeliverycity("south jakarta"); nicepay setdeliverystate("dki jakarta"); nicepay setdeliverypostcd("10201"); nicepay setdeliverycountry("indonesia"); nicepay setcallbackurl(merchantdomain + "callback"); nicepay setdbprocessurl(merchantdomain + "dbprocess"); nicepay setvat("0"); nicepay setfee("0"); nicepay setnotaxamt("0"); nicepay setdescription("this is the description of the payment"); nicepay setuserip("127 0 0 1"); nicepay setmerchanttoken(nicepay maketoken(nicepay getamt(), nicepay getreferenceno())); nicepay setcartdata("{}"); nicepay setinstmntmon("1"); nicepay setinstmnttype("1"); nicepay setrecurropt("1"); // for recurring only nicepay setcardcvv("100"); nicepay setrecurringtoken("88cb7e30c531429a95fb2af442f591b75939fd0387288af2dc2340c50776d84a"); nicepay setcardexpyymm("3901") // payment optional field nicepay setreqdt("20230516"); nicepay setreqtm("135959"); nicepay setreqdomain("merchant com"); nicepay setreqserverip("127 0 0 1"); nicepay setreqclientver("1 0"); nicepay setusersessionid("usersessionid"); nicepay setuseragent("mozilla"); nicepay setuserlanguage("en us"); nicepay setmerfixacctid("00000001"); nicepay setpaymentexpirydt("20230531"); nicepay setpaymentexpirytm("235959"); // payment request nicepay payment(); // payment response system out println("response string " + nicepay getresponsestring()); // json in string format string cctranstype = nicepay get("cctranstype"); string fee = nicepay get("fee"); string txid = nicepay get("txid"); string description = nicepay get("description"); string notaxamt = nicepay get("notaxamt"); string cardno = nicepay get("cardno"); string issubankcd = nicepay get("issubankcd"); string cardexpyymm = nicepay get("cardexpyymm"); string acqubanknm = nicepay get("acqubanknm"); string paymethod = nicepay get("paymethod"); string callbackurl = nicepay get("callbackurl"); string instmntmon = nicepay get("instmntmon"); string currency = nicepay get("currency"); string issubanknm = nicepay get("issubanknm"); string resultcd = nicepay get("resultcd"); string amount = nicepay get("amount"); string goodsnm = nicepay get("goodsnm"); string referenceno = nicepay get("referenceno"); string transtm = nicepay get("transtm"); string authno = nicepay get("authno"); string vat = nicepay get("vat"); string instmnttype = nicepay get("instmtntype"); string resultmsg = nicepay get("resultmsg"); string billingnm = nicepay get("billingnm"); string acqubankcd = nicepay get("acqubankcd"); string transdt = nicepay get("transdt"); parameter tipe ukuran deskripsi contoh / catatan imid required required an 2 {{merchant}} id ionpaytest paymethod required required n 2 docid\ pnv6uw k42cisgzemke y 01 currency required required a 40 currency idr amt required required n 12 goods amount 10000 referenceno required required ans 40 {{merchant}} order number merchantreferencenumber001 goodsnm required required an 100 goods name {{merchant}} goods 1 billingnm required required a 30 billing name john doe billingphone required required n 15 billing phone number 08123456789 billingemail required required ans 40 billing e mail john doe\@example com billingcity required required n 50 billing city south jakarta billingstate required required a 50 billing state dki jakarta billingpostcd required required n 10 billing post number 10200 billingcountry required required a 10 billing country {{indonesia}} callbackurl required required ans 255 {{paymentproduct}} result forward url (on browser) https //www mechant com/callbackurl dbprocessurl required required ans 255 {{paymentproduct}} result receive url (server side) https //www merchant com/dbprocessurl description required required an 100 description this is the description of the {{paymentproduct}} merchanttoken required required an 255 {{merchant}} token 2349fcbd3a5b81d08ca719cc6d9c826f2f6f9d4de337b86e4019114aad6222b1 userip required required ans 15 user ip 127 0 0 1 cartdata required required ans 4000 cart data (json format) {} instmnttype required required n 2 docid\ pnv6uw k42cisgzemke y 1 instmntmon required required n 2 installment month 1 cardcvv n 3 card cvv 100 recurringtoken required required an 64 recurring token 88cb7e30c531429a95fb2af442f591b75939fd0387288af2dc2340c50776d84a recurropt required for recurring cc required for recurring cc n 2 0 automatic cancel 1 do not cancel 2 do not make token 1 billingaddr an 255 billing address jln raya kasablanka kav 88 deliverynm a 30 delivery name {{merchant}} 's name deliveryphone n 15 delivery phone 08123456789 deliveryaddr an 100 delivery address jln dr saharjo no 88 deliveryemail ans 100 delivery e mail example\@merchant com deliverycity a 50 delivery city south jakarta deliverystate a 50 delivery state dki jakarta deliverypostcd n 10 delivery post number 10201 deliverycountry a a delivery country {{indonesia}} vat n 12 vat 0 fee n 12 service tax 0 notaxamt n 12 tax free amount 0 reqdt n n request date ( yyyymmdd ) 20230516 reqtm n n request time ( hh24miss ) 135959 reqdomain ans 100 request domain www merchant com reqserverip ans 15 request server ip 127 0 0 1 reqclientver ans 50 request client version 1 0 usersessionid an 100 user session id usersessionid useragent ans 100 user agent information mozilla userlanguage ans 2 user language en us response parameter recurring payment sample response recurring payment { "issubanknm" "bca", "resultcd" "0000", "amount" "10000", "cctranstype" "2", "authno" "048797", "referenceno" "merchantreferencenumber001", "transtm" "224646", "fee" null, "vat" null, "txid" "ionpaytest01202305212240279260", "description" "this is the description of the payment", "notaxamt" null, "cardno" "51234500 0008", "issubankcd" "cena", "instmnttype" "1", "resultmsg" "success", "acqubankcd" "bnia", "cardexpyymm" "3901", "acqubanknm" "cimb", "paymethod" "01", "callbackurl" "https //www merchant com/callbackurl/", "instmntmon" "1", "transdt" "20230516" } parameter tipe ukuran deskripsi resultcd n 4 docid\ pnv6uw k42cisgzemke y resultmsg an 255 docid\ pnv6uw k42cisgzemke y txid an 30 transaction id referenceno ans 40 {{merchant}} order number paymethod n 2 docid\ pnv6uw k42cisgzemke y amount n 12 transaction amount currency an 3 currency goodsnm n 100 goods name billingnm n 30 buyer name transdt n 8 transaction date ( yyyymmdd ) transtm n 6 transaction time ( hh24miss ) description an 100 transaction description callbackurl ans 100 callback url authno n 10 authorization number issubankcd a 4 docid\ pnv6uw k42cisgzemke y issubanknm a 255 issuing {{bank}} name acqubankcd a 4 docid\ pnv6uw k42cisgzemke y acqubanknm a 255 acquiring {{bank}} name cardno ans 20 card number with masking instmntmon n 2 installment month instmnttype n 2 docid\ pnv6uw k42cisgzemke y cctranstype n 2 {{cc}} transaction type vat n 12 {{vat}} number fee n 12 service fee notaxamt n 12 tax free amount generate recurring token without first payment {{api}} ini digunakan khusus pada {{kartukredit}} tipe recurring untuk membuat recurringtoken tanpa melakukan {{proses}} {{transaksi}} {{pembayaran}} terlebih dahulu, melainkan hanya melalui {{proses}} pendaftaran {{informasi}} kartu recurringtoken {{yang}} berhasil dibuat dapat digunakan untuk melakukan {{proses}} {{transaksi}} ( recurringtrans do ) api specification generate recurring token without first payment api endpoint /nicepay/api/tokenize do method application/x www form urlencoded application/x www form urlencoded post post description melakukan generate recurring token {{kartukredit}} tanpa melakukan {{pembayaran}} terlebih dahulu merchant token sha256 ( merchant id + card no + card exp yymm + merchant key ) request parameter generate recurring token sample java request generate recurring token // request mandatory field nicepay setimid("ionpaytest"); nicepay setcardno ("5289190008221516"); nicepay setcardexpyymm ("2012"); nicepay setbillingnm("anyone"); nicepay setmerchanttoken(nicepay maketoken(nicepay getcardno(), nicepay getcardexpyymm())); // optional field nicepay setcardholdernm("jhon doe"); nicepay setcardholderemail("jhondoe\@gmail com"); // payment response system out println("response string " + nicepay getresponsestring()); // json in string format string resultcd = nicepay get("resultcode"); string resultmsg = nicepay get("resultmsg"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); string recurringtoken = nicepay get("recurringtoken"); parameter tipe ukuran deskripsi contoh / catatan imid required required an 10 {{merchant}} id ionpaytest merchanttoken required required an 255 {{merchant}} token b63d66156715bf8c9d851e76e61a42ce7efb815a91843b7535c5bcde8490cb4d cardno required required n 16 card number 552103 6573 cardexpyymm required required n 4 card expired yy/mm 2012 billingnm required required a 30 billing name john doe cardholdernm required required an 45 card holder name john doe only alphabet allowed cardholderemail required required ans 100 card holder email johndoe\@gmail com response parameter generate recurring token sample java response generate recurring token string resultcd = nicepay get("resultcode"); string resultmsg = nicepay get("resultmsg"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); string recurringtoken = nicepay get("recurringtoken"); parameter tipe ukuran deskripsi contoh / catatan resultcode n 4 docid\ pnv6uw k42cisgzemke y 0000 resultmsg an 255 result message success transdt n 8 transaction date 20180604 when success transtm n 6 transaction time 141806 when success recurringtoken an 10 recurring token 75d5220c439b83359ed440ab 12b713ed273feb455cc278fe0 0209e57dfe84cjk when success check recurring token api specification check recurring token api endpoint /nicepay/api/checktoken do method application/x www form urlencoded application/x www form urlencoded post post merchant token sha256( merchant id + recurring token + merchantkey ) deskripsi memeriksa recurring token pada {{pembayaran}} dengan {{kartukredit}} request parameter check recurring token sample java request check recurring token // request mandatory field nicepay setimid("ionpaytest"); nicepay setrecurringtoken("f46225e4bb06745ef2e238ddb65ceab1ba4556578bf3b3452964e488f0c8ec36"); nicepay setmerchanttoken(nicepay maketoken(nicepay getrecurringtoken())); // payment response system out println("response string " + nicepay getresponsestring()); // json in string format string resultcd = nicepay get("resultcode"); string resultmsg = nicepay get("resultmsg"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); string recurringtoken = nicepay get("recurringtoken"); string billingnm= nicepay get("billingnm"); string billingemail = nicepay get("billingemail"); parameter tipe ukuran deskripsi contoh / catatan imid required required an 10 {{merchant}} id ionpaytest merchanttoken required required an 64 {{merchant}} token b63d66156715bf8c9d851e76 e61a42ce7efb815a91843b75 35c5bcde8490cb4d recurringtoken required required an 64 recurring token 75d5220c439b83359ed440ab 12b713ed273feb455cc278fe0 0209e57dfe84c7a response parameter check recurring token sample java response check recurring token string resultcd = nicepay get("resultcode"); string resultmsg = nicepay get("resultmsg"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); string recurringtoken = nicepay get("recurringtoken"); string billingnm= nicepay get("billingnm"); string billingemail = nicepay get("billingemail"); parameter tipe ukuran deskripsi contoh / catatan resultcode required required n 4 docid\ pnv6uw k42cisgzemke y 0000 resultmsg required required an 255 result message success transdt required required n 8 transaction date 20180604 transtm required required n 6 transaction time 141806 when success recurringtoken required required an 60 authorization number 75d5220c439b83359ed440ab 12b713ed273feb455cc278fe0 0209e57dfe84cjk when success billingemail required required an 40 billing email when success billingnm required required a 30 billing name when success remove recurring token api specification remove recurring token api endpoint /nicepay/api/removetoken do method application/x www form urlencoded application/x www form urlencoded post post merchant token sha256( merchant id + recurring token + merchantkey ) deskripsi menghilangkan recurring token pada {{pembayaran}} {{kartukredit}} request parameter remove recurring token sample java request remove recurring token // request mandatory field nicepay setimid("ionpaytest"); nicepay setrecurringtoken("f46225e4bb06745ef2e238ddb65ceab1ba4556578bf3b3452964e488f0c8ec36"); nicepay setmerchanttoken(nicepay maketoken(nicepay getrecurringtoken())); // payment response system out println("response string " + nicepay getresponsestring()); // json in string format string resultcd = nicepay get("resultcode"); string resultmsg = nicepay get("resultmsg"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); parameter tipe ukuran deskripsi contoh / catatan imid required required an 10 {{merchant}} id ionpaytest merchanttoken required required an 64 {{merchant}} token b63d66156715bf8c9d851e76 e61a42ce7efb815a91843b75 35c5bcde8490cb4d recurringtoken required required an 64 recurring token 75d5220c439b83359ed440ab 12b713ed273feb455cc278fe0 0209e57dfe84c7a response parameter remove recurring token sample java response remove recurring token string resultcd = nicepay get("resultcode"); string resultmsg = nicepay get("resultmsg"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); parameter tipe ukuran deskripsi contoh / catatan resultcode n 4 docid\ pnv6uw k42cisgzemke y 0000 resultmsg an 255 result message success transdt n 8 transaction date 20180604 when success transtm n 6 transaction time 141806 when success credit card pre auth untuk melakukan {{pembayaran}} pre auth & capture, {{sistem}} membutuhkan preauthtoken agar dapat melakukan {{proses}} capture proses tersebut hanya dapat dilakukan selama preauthtoken masih berlaku berikut adalah langkah {{pembayaran}} pada {{sistem}} dalam menggunakan pre auth token {{pelanggan}} akan memasukkan data kartu berupa cardno dan exymmyy melalui {{api}} request token ( onepasstoken do ) {{pelanggan}} akan mendapatkan cardtoken proses {{pembayaran}} dengan pre auth pada v1 enterprise terbagi menjadi 2, yaitu direct 3ds dan direct non 3ds jika melalui {{proses}} 3ds, maka data kartu akan melalui verifikasi keamanan dari {{api}} 3ds request ( secureverequest do ) berupa otp serta keamanan fds ( fraud detection system ) {{nicepay}} jika tidak melalui {{proses}} 3ds, maka tidak akan melalui verifikasi keamanan {{pelanggan}} melakukan {{pembayaran}} dengan {{api}} {{cc}} {{paymentproduct}} ( onepass do ) sistem melakukan {{proses}} hold dan mendapatkan preauthtoken untuk melanjutkan {{proses}} proses capture amount akan dilakukan menggunakan {{api}} pre auth ( capturetrans do ) dengan memasukkan preauthtoken dan cvv jika preauthtoken kedaluwarsa, maka {{pembayaran}} akan menjadi void dan dana akan dikembalikan kepada {{pelanggan}} api specification pre auth api endpoint /nicepay/api/capturetrans do method application/x www form urlencoded application/x www form urlencoded post post merchant token sha256( merchant id + reference number + amount + merchantkey ) deskripsi {{api}} pembayaran untuk {{kartukredit}} pre auth menggunakan preauthtoken request parameter pre auth sample request pre auth imid "ionpaytest" paymethod "01" currency "idr" amt "10000" referenceno "merchantreferencenumber001" goodsnm "merchant goods 1" billingnm "john doe" billingphone "08123456789" billingemail "john doe\@example com" billingaddr "jln raya kasablanka kav 88" billingcity "south jakarta" billingstate "dki jakarta" billingpostcd "10200" billingcountry "indonesia" callbackurl "https //www merchant com/callbackurl/" dbprocessurl "https //www merchant com/dbprocessurl/" description "this is the description of the payment" merchanttoken "2349fcbd3a5b81d08ca719cc6d9c826f2f6f9d4de337b86e4019114aad6222b1" userip " 1" cartdata "{}" instmnttype "1" instmntmon "1" preauthtoken "c2921cc7a1967f905fd4f895f22f06c02d24adf8c9f7b169d6ef0c2c0b128549" sample java request pre auth // payment mandatory field nicepay setpaymethod("01"); nicepay setcurrency("idr"); nicepay setamt("10000"); nicepay setinstmntmon("1"); nicepay setreferenceno("merchantreferencenumber001"); nicepay setgoodsnm("merchant goods 1"); nicepay setbillingnm("john doe"); nicepay setbillingemail("john doe\@example com"); nicepay setbillingphone("08123456789"); nicepay setbillingaddr("jln raya kasablanka kav 88"); nicepay setbillingcity("south jakarta"); nicepay setbillingstate("dki jakarta"); nicepay setbillingpostcd("10200"); nicepay setbillingcountry("indonesia"); nicepay setdeliverynm("merchant's name"); nicepay setdeliveryphone("08123456789"); nicepay setdeliveryaddr("jln dr saharjo no 88"); nicepay setdeliverycity("south jakarta"); nicepay setdeliverystate("dki jakarta"); nicepay setdeliverypostcd("10201"); nicepay setdeliverycountry("indonesia"); nicepay setcallbackurl(merchantdomain + "callback"); nicepay setdbprocessurl(merchantdomain + "dbprocess"); nicepay setvat("0"); nicepay setfee("0"); nicepay setnotaxamt("0"); nicepay setdescription("this is the description of the payment"); nicepay setuserip("127 0 0 1"); nicepay setmerchanttoken(nicepay maketoken(nicepay getamt(), nicepay getreferenceno())); nicepay setcartdata("{}"); nicepay setinstmntmon("1"); nicepay setinstmnttype("1"); nicepay setcardcvv("100"); nicepay setpreauthtoken("c2921cc7a1967f905fd4f895f22f06c02d24adf8c9f7b169d6ef0c2c0b128549"); nicepay setcardexpyymm("3901") // payment optional field nicepay setreqdt("20230516"); nicepay setreqtm("135959"); nicepay setreqdomain("merchant com"); nicepay setreqserverip("127 0 0 1"); nicepay setreqclientver("1 0"); nicepay setusersessionid("usersessionid"); nicepay setuseragent("mozilla"); nicepay setuserlanguage("en us"); nicepay setmerfixacctid("00000001"); nicepay setpaymentexpirydt("20230531"); nicepay setpaymentexpirytm("235959"); // payment request nicepay payment(); // payment response system out println("response string " + nicepay getresponsestring()); // json in string format string cctranstype = nicepay get("cctranstype"); string fee = nicepay get("fee"); string txid = nicepay get("txid"); string description = nicepay get("description"); string notaxamt = nicepay get("notaxamt"); string cardno = nicepay get("cardno"); string issubankcd = nicepay get("issubankcd"); string cardexpyymm = nicepay get("cardexpyymm"); string acqubanknm = nicepay get("acqubanknm"); string paymethod = nicepay get("paymethod"); string callbackurl = nicepay get("callbackurl"); string instmntmon = nicepay get("instmntmon"); string currency = nicepay get("currency"); string issubanknm = nicepay get("issubanknm"); string resultcd = nicepay get("resultcd"); string amount = nicepay get("amount"); string goodsnm = nicepay get("goodsnm"); string referenceno = nicepay get("referenceno"); string transtm = nicepay get("transtm"); string authno = nicepay get("authno"); string recurringtoken = nicepay get("recurringtoken"); //only for recurring string preauthtoken = nicepay get("preauthtoken"); //only for pre auth string vat = nicepay get("vat"); string instmnttype = nicepay get("instmtntype"); string resultmsg = nicepay get("resultmsg"); string billingnm = nicepay get("billingnm"); string acqubankcd = nicepay get("acqubankcd"); string transdt = nicepay get("transdt"); parameter tipe ukuran deskripsi contoh / catatan imid required required an 2 {{merchant}} id ionpaytest paymethod required required n 2 docid\ pnv6uw k42cisgzemke y 01 currency required required a 40 currency idr amt required required n 12 goods amount 10000 referenceno required required ans 40 {{merchant}} order number merchantreferencenumber001 goodsnm required required an 100 goods name {{merchant}} goods 1 billingnm required required a 30 billing name john doe billingphone required required n 15 billing phone number 08123456789 billingemail required required ans 40 billing e mail john doe\@example com billingcity required required n 50 billing city south jakarta billingstate required required a 50 billing state dki jakarta billingpostcd required required n 10 billing post number 10200 billingcountry required required a 10 billing country {{indonesia}} callbackurl required required ans 255 {{paymentproduct}} result forward url (on browser) https //www mechant com/callbackurl dbprocessurl required required ans 255 {{paymentproduct}} result receive url (server side) https //www merchant com/dbprocessurl description required required an 100 description this is the description of the {{paymentproduct}} merchanttoken required required an 255 {{merchant}} token 2349fcbd3a5b81d08ca719cc6d9c826f2f6f9d4de337b86e4019114aad6222b1 userip required required ans 15 user ip 127 0 0 1 cartdata required required ans 4000 cart data (json format) {} instmnttype required required n 2 docid\ pnv6uw k42cisgzemke y 1 instmntmon required required n 2 installment month 1 cardcvv n 3 card cvv 100 preauthtoken required required an 255 pre auth token c2921cc7a1967f905fd4f895f22f06c02d24adf8c9f7b169d6ef0c2c0b128549 recurropt required for recurring cc required for recurring cc n 2 0 automatic cancel 1 do not cancel 2 do not make token 1 billingaddr an 255 billing address jln raya kasablanka kav 88 deliverynm a 30 delivery name {{merchant}} 's name deliveryphone n 15 delivery phone 08123456789 deliveryaddr an 100 delivery address jln dr saharjo no 88 deliveryemail an 100 delivery e mail example\@merchant com deliverycity a 50 delivery city south jakarta deliverystate a 50 delivery state dki jakarta deliverypostcd n 10 delivery post number 10201 deliverycountry a a delivery country {{indonesia}} vat n 12 {{vat}} 0 fee n 12 service tax 0 notaxamt n 12 tax free amount 0 reqdt n n request date ( yyyymmdd ) 20230516 reqtm n n request time ( hh24miss ) 135959 reqdomain ans 100 request domain www merchant com reqserverip ans 15 request server ip 127 0 0 1 reqclientver ans 50 request client version 1 0 usersessionid an 100 user session id usersessionid useragent ans 100 user agent information mozilla userlanguage ans 2 user language en us response parameter pre auth sample response pre auth { "issubanknm" "bca", "resultcd" "0000", "amount" "1000", "cctranstype" "4", "authno" "051837", "referenceno" "merchantreferencenumber001", "transtm" "234619", "fee" null, "vat" null, "txid" "ionpaytest01202305212346199270", "description" "this is the description of the payment", "notaxamt" null, "cardno" "51234500 0008", "issubankcd" "cena", "instmnttype" "1", "resultmsg" "success", "acqubankcd" "bnia", "cardexpyymm" "3901", "acqubanknm" "cimb", "paymethod" "01", "callbackurl" "https //www merchant com/callbackurl", "instmntmon" "1", "transdt" "20230516" } parameter tipe ukuran deskripsi resultcd n 4 docid\ pnv6uw k42cisgzemke y resultmsg an 255 docid\ pnv6uw k42cisgzemke y txid an 30 transaction id referenceno ans 40 {{merchant}} order number paymethod n 2 docid\ pnv6uw k42cisgzemke y amount n 12 transaction amount currency an 3 currency goodsnm n 100 goods name billingnm n 30 buyer name transdt n 8 transaction date ( yyyymmdd ) transtm n 6 transaction time ( hh24miss ) description an 100 transaction description callbackurl ans 100 callback url authno n 10 authorization number issubankcd a 4 docid\ pnv6uw k42cisgzemke y issubanknm a 255 issuing {{bank}} name acqubankcd a 4 docid\ pnv6uw k42cisgzemke y acqubanknm a 255 acquiring {{bank}} name cardno ans 20 card number with masking instmntmon n 2 installment month instmnttype n 2 docid\ pnv6uw k42cisgzemke y cctranstype n 2 docid\ pnv6uw k42cisgzemke y vat n 12 {{vat}} number fee n 12 service fee notaxamt n 12 tax free amount