NICEPAY API
...
API Payloan
Payment - API Payloan
12 min
about api payloan payment through , offers you convenience of cross app s (jump app) for your s notifications will be sent to s in real time as soon as s complete s the will receive regularly related to loan request through api payloan payment aims s can s this step uses to perform of with api end point /nicepay/direct/v2/payment request method post post description performs transaction regist to merchant token sha256( timestamp + imid + referenceno + amt + merchantkey ) request format application/x www form urlencoded request parameter for payloan payment the following is a list of s for performing for this uses in platform as one of steps so can connect with parameter type size description example / notes timestamp required required n 14 request timestamp ( yyyymmddhh24miss ) 20200910170911 txid required required an 30 transaction id ionpaytest01201804191202084760 merchanttoken required required an 255 token d27544e13fd9937be9fc5d99ba39a75344b0e6dd1c6c358c9858a94606a74c4e callbackurl required required ans 255 result url http //merchant com/callbackurl sample json for payloan payment formurlencoded callbackurl=http //merchant com/callbackurl txid=payloantes06202010221238593706 timestamp=20200910170911 merchanttoken=d27544e13fd9937be9fc5d99ba39a75344b0e6dd1c6c358c9858a94606a74c4e java request nicepay settimestamp("20200910170911"); nicepay settxid("payloantes06202010221238593706"); nicepay setmerchanttoken(nicepay getmerchanttoken()); nicepay setcallbackurl("http //merchant com/callbackurl"); // payment request nicepay payment(); callback handling payloan callback handling obtained from using url after call on , then will be directed to on application when your callback already received callbackurl , we recommended to do verification using docid\ ikbnpmy56gww3hk0v3emu callback handling is very important to minimize fraud act, we highly recommend to do verification using callback handling url callback https //merchant co id/nicepay callback?resultcd=0000\&resultmsg=success\&txid=payloantes06202212141336161529\&referenceno=815123412341\&paymethod=06\&amt=20000\&transdt=20221214\&transtm=133616\&description=\&authno=\&issubankcd=\&acqubankcd=\&cardno=\&receiptcode=\&mitracd=kdvi\&recurringtoken=\&preauthtoken=\¤cy=idr\&goodsnm=test+transaction+nicepay\&billingnm=customer +name\&cctranstype=\&mrefno=\&instmnttype=\&instmntmon=\&cardexpyymm=\&issubanknm=\&acqubanknm=\×tamp=\&merchanttoken= response callback { "resultcd" "0000", "resultmsg" "success", "txid" "payloantes06202212141336161529", "referenceno" "815123412341", "paymethod" "06", "amt" "20000", "transdt" "20221214", "transtm" "133616", "description" "", "authno" "", "issubankcd" "", "acqubankcd" "", "cardno" "", "receiptcode" "", "mitracd" "kdvi", "recurringtoken" "", "preauthtoken" "", "currency" "idr", "goodsnm" "test transaction nicepay", "billingnm" "customer name", "cctranstype" "", "mrefno" "", "instmnttype" "", "instmntmon" "", "cardexpyymm" "", "issubanknm" "", "acqubanknm" "", "timestamp" "", "merchanttoken" "" } confirm receipt (akulaku only) only confirm receipt after have received item s are required to do this in to receive settlement funds from completed s api end point /nicepay/api/direct/v2/confirmakulaku request method post post description performs receipt confirmation for fund merchant token sha256( timestamp + txid + imid + merchantkey ) request parameter parameter type size description example / notes timestamp required required n 14 request timestamp ( yyyymmddhh24miss ) 20170708123456 txid required required an 30 transaction id ionpaytest02201607291027025291 imid required required an 10 id ionpaytest merchanttoken required required an 255 token 6cfccfc0046773c1b589d8e98f8 response parameter parameter type size description example / notes resultcd required required n 4 docid 2r5sr3xvppu1eju1nitg resultmsg required required an 30 docid 2r5sr3xvppu1eju1nitg responsedata required required an 255 token