NICEPAY API
...
Payment - API Credit Card
Full Payment & Installment - Payment API Credit Card
11 min
about full payment & installment payment api credit card this {{api}} uses after finishing {{the}} {{api}} full payment & installment registration api credit card docid 5yfvvdriig 2j8ksuel9g {{api}} used in this stage is similar to {{the}} {{api}} for {{the}} recurring token and pre auth & capture {{payment}} type however, there are several differences in {{the}} sent request {{parameter}} full payment & installment payment api credit card 181,558,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 on {{the}} {{cc}} {{payment}} , if 3ds authentication is needed, your {{customer}} will direct to {{the}} 3ds card issuer {{bank}} {{page}} to input {{the}} otp (one time password) code to finish {{the}} {{transaction}} {{process}} request parameter for credit card payment the following is {{the}} list of request {{parameter}} s to {{process}} {{the}} {{payment}} {{transaction}} on {{the}} {{cc}} full {{paymentproduct}} & installment {{paymethod}} request parameter {{proceed}} s through form url with {{the}} following detailed {{parameter}} 156,69,84,207,228 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 false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type parameter needed in {{the}} {{transaction}} {{process}} is {{the}} your {{customer}} credit/debit card data such as cardno , cardexpyymm , cardcvv , cardholdernm & cardholderemail so, to do {{the}} {{transaction}} {{process}} , we suggest you get {{the}} card data from your {{customer}} beforehand before doing {{the}} {{paymentproduct}} {{api}} {{process}} include cardcvv on every {{transaction}} depending on {{the}} mid type of cvv or non cvv response parameter for credit card payment after you request, you will get a response from url callback with {{the}} following detailed response {{parameter}} 156,105,72,207,228 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 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type 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 request json for credit card payment form urlencoded timestamp "20221202141217 txid "ionpaytest01202212021455054652" referenceno "ordno20221202141217" merchanttoken "c91e6531f6c84869439bc5ebe5389bd71e7752c054fc9dbfe193d087a1b797ae" cardno "4434260000000008" cardexpyymm "3901" cardcvv "101" cardholdernm "john doe" cardholderemail "johndoe\@gmail com" callbackurl "https //www merchant com/callbackurl/" java request //credit card payment// nicepay settimestamp("20221202141217"); nicepay settxid("ionpaytest01202212021455054652"); nicepay setreferenceno("ordno20221202141217"); nicepay setmerchanttoken(nicepay maketoken(nicepay getmerchanttoken()); nicepay setcardno("4434260000000008"); nicepay setcardexpyymm("3901"); nicepay setcardcvv("101"); nicepay setcardholdernm("john doe"); nicepay setcardholderemail("johndoe\@gmail com"); nicepay setcallbackurl("https //www merchant com/callbackurl/"); // request credit card payment nicepay ccpayment(); // response string // system out println("final response string " + nicepay getresponsestring()); string resultcd = nicepay get("resultcd"); string resultmsg = nicepay get("resultmsg"); string timestamp = nicepay get("timestamp"); string txid = nicepay get("txid"); string referenceno = nicepay get("referenceno"); string paymethod = nicepay get("paymethod"); string amt = nicepay get("amt"); string merchanttoken = nicepay get("merchanttoken"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); string authno = nicepay get("authno"); string acqubankcd = nicepay get("acqubankcd"); string issubankcd = nicepay get("issubankcd"); string acqubanknm = nicepay get("acqubanknm"); string issubanknm = nicepay get("issubanknm"); string cardno = nicepay get("cardno"); string cardexpyymm = nicepay get("cardexpyymm"); string currency = nicepay get("currency"); string goodsnm = nicepay get("goodsnm"); string billingnm = nicepay get("billingnm"); string cctranstype = nicepay get("cctranstype"); string instmnttype = nicepay get("instmnttype"); callback handling for credit card payment after {{the}} {{transaction}} occurs, you will get a {{notification}} from us based on {{the}} inputted callback url in {{the}} request {{parameter}} on payment api credit card docid\ bliefzuf9etdz7mb9hmgw when your callback already received callbackurl , we recommended {{the}} {{merchant}} to do {{the}} {{status}} verification using {{the}} status inquiry api credit card docid\ fc bkdwkevwf2h9usoc8k callback handling is very important to minimize {{the}} fraud act, we highly recommend {{the}} {{merchant}} to do {{the}} verification using callback handling url callback "callbackurl" "https //www merchant com/callbackurl/" response callback { "resultcd" "0000", "resultmsg" "success", "txid" "ionpaytest01202212141112221428", "referenceno" "", "paymethod" "01", "amt" "10000", "transdt" "20221212", "transtm" "121212", "description" "testing credit card transaction", "authno" "080623", "issubankcd" "othr" "acqubankcd" "bmri", "cardno" "453211 1111", "goodsnm" "test transaction nicepay" "billingnm" "john doe", "currency" "idr", "timestamp" "20221212121212", "merchanttoken" "2035d2295d9578fffb40137186f0203474142ae3e57992d4847826c5fcaffce6", "cardexpyymm" "2712", "instmntmon" "1", "instmnttype" "1", "cctranstype" "1" }