NICEPAY API
...
API E-Wallet
AstraPay Payment - API E-Wallet
15 min
about api e wallet astrapay payment through , offers you convenience of cross application s (jump app) for your s notifications will be sent to s in real time as soon as s complete s visit docid\ cmd9efdsw7mptws1elyfc to acknowledge flow difference between general with astrapay api e wallet astrapay payment using aims to activate at s, so that s can make s using with s this stage is to integrate with 157,585,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 unhandled content type unhandled content type unhandled content type unhandled content type the can only be after going through registration , please learn further about astrapay registration on docid 8qytjgylymk7zndm8zncz request parameter for e wallet astrapay payment the following is a list of s for requesting registration of astrapay this is used through platform as one of stages so that 's can connect with s from 162,111,69,207,228 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 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type visit docid\ mkxgm04 smrzpcmmynuk0 to learn general about response parameter for e wallet astrapay payment following are response s from the results of request s for of astrapay 150,66,72,225,270,271 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 sample json for e wallet astrapay payment form urlencode request timestamp={timestamp} imid={imid} mandateid={mandateid} referenceno={referenceno} paymethod={paymethod} currency={currency} amt={amt} goodsnm={goodsnm} billingnm={billingnm} billingphone={billingphone} billingemail={billingemail} billingaddr={billingaddr} billingcity={billingcity} billingstate={billingstate} billingpostcd={billingpostcd} billingcountry={billingcountry} deliverynm={deliverynm} deliveryphone={deliveryphone} deliveryaddr={deliveryaddr} deliverycity={deliverycity} deliverystate={deliverystate} deliverypostcd={deliverypostcd} deliverycountry={deliverycountry} description={description} userip={userip} cartdata={cartdata} callbackurl={callbackurl} dbprocessurl={dbprocessurl} merchanttoken={merchanttoken} mitracd={mitracd} returnjsonformat={returnjsonformat} json response { "resultcd" "0000", "resultmsg" "success", "txid" "ionpaytest05202212141216111291", "mandateid" "ionpaytest085695655726", "referenceno" "ncpy20221214121608", "paymethod" "05", "amt" "2123", "transdt" "20221214", "transtm" "121608", "mitracd" "astr", "redirecturlhttp" "https //apis astrapay com/merchant service/payments/e574e878 d37f 491e ba78 08e55de73d78" } java request //e wallet astrapay payment// nicepay settimestamp("20221214065959"); nicepay setimid("ionpaytest"); nicepay setmandateid("082111111111"); nicepay setpaymethod("05"); nicepay setcurrency("idr"); nicepay setamt("2000"); nicepay setreferenceno("ordno20221214065959"); nicepay setdecription("test ewallet astrapay"); nicepay setmerchanttoken(nicepay maketoken(nicepay getmerchanttoken()); nicepay setgoodsnm("testing payment astrapay"); nicepay setbillingnm("john doe"); nicepay setbillingphone("082111111111"); nicepay setbillingemail("john doe\@example com"); nicepay setbillingaddr("jln raya kasablanka kav 88"); nicepay setbillingcity("south jakarta"); nicepay setbillingstate("dki jakarta"); nicepay setbillingcountry("indonesia"); nicepay setbillingpostcd("12800"); nicepay setcallbackurl("http //ptsv2 com/t/merchant/post"); nicepay setdbprocessurl("http //ptsv2 com/t/merchant/post"); nicepay setcarddata("{\\"count\\" 1,\\"item\\" \[{\\"img url\\" \\"http \\\\\\/\\\\\\/www jamgora com\\\\\\/media\\\\\\/avatar\\\\\\/noimage png\\",\\"goods name\\" \\"hoodie\\",\\"goods detail\\" \\"hoodie\\",\\"goods amt\\" \\"2000\\"}]}"); nicepay setmitracd("astr"); nicepay setreturnjsonformat("1"); // request e wallet astrapay payment nicepay ewalletastrapayment(); // 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 mandateid = nicepay get("mandateid"); string referenceno = nicepay get("referenceno"); string paymethod = nicepay get("paymethod"); string amt = nicepay get("amt"); string transdt = nicepay get("transdt"); string transtm = nicepay get("transtm"); string mitracd = nicepay get("mitracd"); cart data e wallet astrapay payment cartdata in registration is useful for declaring what items will be checked out along with item details and price per item 195,408,139 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 detailed explanation on item s 130,273,354 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 cartdata e wallet astrapay payment { "count" "2", "item" \[ { "img url" "http //www merchant com/image goods1 jpg", "goods name" "item 1 name", "goods detail" "item 1 detail", "goods amt" "1000", "goods quantity" "1" }, { "img url" "http //www merchant com/image goods2 jpg", "goods name" "item 2 name", "goods detail" "item 2 detail", "goods amt" "1000" "goods quantity" "1" } ] } callback e wallet astrapay payment when your callback already received callbackurl , recommended to do verification using docid\ tegpdwiwlqpwiik9vv3r4 callback handling can be very helpful to minimize occurrence of fraud, highly recommend to do verification using callback handling request body { "resultcd" "0000", "resultmsg" "success", "txid" "ionpaytest05202212141753501704", "mandateid" "ionpaytest082111111111" "referenceno" "ncpy20221214175347", "paymethod" "05", "amt" "10000", "transdt" "20221214", "transtm" "113441", "mitracd" "astr" } url callback https //merchant co id/nicepay callback?string=\&resultcd=0000\&resultmsg=success\&txid=ionpaytest05202212141753501704\&mandateid=ionpaytest085695655726\&referenceno=ncpy20221214175347\&paymethod=05\&transdt=20221214\&transtm=175350\&mitracd=astr\&amt=10