NICEPAY API
...
DANA Recurring - E-Wallet API ...
Registration & First Payment - DANA Recurring API
6 min
about registration & first payment dana recurring api nicepay api registration & first payment goal is for {{merchant}} can registers {{api}} {{system}} and integrate with {{nicepay}} 's {{system}} to {{proceed}} {{the}} first {{transaction}} registration & first payment dana recurring api api endpoint /nicepay/api/danarecurring do request method post post form (parameter) description dana recurring merchant token sha256( timestamp + imid + txid + amt + merchantkey ) request parameter registration & first payment dana recurring api the following are {{the}} list of {{parameter}} s when requesting for registration and {{payment}} during {{ewallet}} dana recurring {{transaction}} {{process}} parameter type size description example / remark timestamp required required n 14 {{api}} request date ( yyyymmddhh24miss ) 20211005123015 imid required required an 10 {{merchant}} id ionpaytest paymethod required required an 2 {{paymentproduct}} method 05 currency required required an 3 currency idr amt required required n 12 {{paymentproduct}} amount 1000 referenceno required required ans 40 {{merchant}} order number / trx id {{merchant}} merchantreferencenumber001 goodsnm required required an 100 goods name will show in dana page {{merchant}} goods 1 billingnm required required a 30 buyer name john doe billingphone required required n 15 buyer phone number 081234567891 billingemail required required an 40 buyer email buyer\@merchant com billingaddr an 100 buyer address billing address billingcity required required a 50 buyer city jakarta billingstate required required a 50 billing state jakarta billingpostcd required required n 10 billing post number 12345 billingcountry required required a 10 billing country {{indonesia}} deliverynm a 30 delivery name buyer name deliveryphone n 15 delivery phone number 081234567891 deliveryaddr an 100 delivery address billing address deliverycity a 50 delivery city jakarta deliverystate a 50 delivery state jakarta deliverypostcd n 10 delivery post number 12345 deliverycountry a 10 delivery country {{indonesia}} callbackurl required required an 255 {{paymentproduct}} callback url https //www nicepay co id/ionpay client/paymentresult jsp dbprocessurl required required an 255 {{paymentproduct}} notification url (async notification) https //ptsv2 com/t/nicepay dbproccessurl/post description an 100 transaction description description merchanttoken required required an 255 {{merchant}} token 6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd userip required required an 15 user ip ( {{customer}} ) 127 0 0 1 usersessionid an 100 user session id usersessionid useragent an 100 user agent information mozilla userlanguage a 2 user language en us cartdata required required an 4000 cart data {string json format} mitracd required required a 4 mitra code dana recurrtype required required n 1 type of recurring 1 daily 2 weekly 3 monthly recurrintv required required n 2 time gap between subcriptions 1 recurrperiod required required n 2 total number of times {{the}} subcriptions will made 2 sample parameter registration & first payment dana recurring api cartdata sample {"count" 1,"item" \[{"img url" "https //d3nevzfk7ii3be cloudfront net/igi/vorghxlovuka566a medium","goods name" "nokia 3360","goods detail" "old nokia 3360","goods amt" "1000","goods quantity" "1"}]} create recurring issue sample post /nicepay/api/danarecurring do http/1 1 host dev nicepay co id content type application/x www form urlencoded timestamp 20211005123015 imid\ ionpaytest paymethod 05 currency\ idr amt 1000 referenceno\ merchantreferencenumber001 goodsnm\ merchant subscription billingnm\ john doe billingemail\ buyer\@merchant com billingphone 081234567891 billingaddr\ billing address billingcity\ jakarta billingstate\ jakarta billingpostcd 12345 billingcountry\ indonesia deliverynm\ buyer name deliveryphone 081234567891 deliveryaddr\ billing address deliverycity\ jakarta deliverystate\ jakarta deliverypostcd 12345 deliverycountry\ indonesia callbackurl\ https //www nicepay co id/ionpay client/paymentresult jsp dbprocessurl\ https //ptsv2 com/t/nicepay dbproccessurl/post vat fee notaxamt description\ description userip 127 0 0 1 usersessionid\ usersessionid useragent\ mozilla userlanguage\ en us merchanttoken\ ab49212e792d7b50428e7b657674c188c32060870e93548dd613e8c42aa98686 cartdata {"count" 1,"item" \[{"img url" "https //d3nevzfk7ii3be cloudfront net/igi/vorghxlovuka566a medium","goods name" "nokia 3360","goods detail" "old nokia 3360","goods amt" "1000","goods quantity" "1"}]} mitracd\ dana reqdt reqtm reqdomain reqserverip reqclientver worker shopid msid msfee msfeetype escrowcl mbfee mbfeetype recurropt recurrtype 2 recurrintv 1 recurrperiod 2