NICEPAY API
...
Payment API
API Payloan
Payment - API Payloan
12min
about api payloan payment through {{the}} {{payloan}} {{paymethod}} , {{nicepay}} offers you {{the}} convenience of cross app {{payment}} s (jump app) for your {{customer}} s notifications will be sent to {{customer}} s in real time as soon as {{the}} {{customer}} s complete {{payment}} s the {{customer}} will receive {{notification}} regularly related to {{the}} loan request through {{nicepay}} {{partner}} api payloan payment {{payloan}} {{paymentproduct}} aims to activate {{the}} {{payloan}} {{paymethod}} on {{merchant}} , so {{customer}} s can {{proceed}} with {{payment}} {{transaction}} s using {{payloan}} on {{merchant}} this step uses to perform {{integration}} of {{the}} {{merchant}} {{system}} with {{the}} {{nicepay}} {{system}} api end point /nicepay/direct/v2/payment request method post post description performs transaction regist to {{nicepay}} 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 {{parameter}} s for performing {{the}} {{payment}} {{integration}} {{process}} for {{the}} {{payloan}} {{paymethod}} this {{parameter}} uses in {{the}} {{api}} {{testing}} platform as one of {{the}} steps so {{the}} {{merchant}} {{system}} can connect with {{the}} {{nicepay}} {{service}} 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 {{merchant}} token d27544e13fd9937be9fc5d99ba39a75344b0e6dd1c6c358c9858a94606a74c4e callbackurl required required ans 255 {{paymentproduct}} 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 {{payloan}} {{paymethod}} using url after {{merchant}} call {{api}} on {{payloan}} , then {{merchant}} will be directed to {{the}} {{payment}} {{page}} on {{nicepay}} {{partner}} application when your callback already received callbackurl , we recommended {{the}} {{merchant}} to do {{the}} {{status}} verification using {{the}} status inquiry api payloan docid\ ikbnpmy56gww3hk0v3emu callback handling is very important to minimize {{the}} fraud act, we highly recommend {{the}} {{merchant}} to do {{the}} 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 {{the}} {{customer}} have received {{the}} item {{merchant}} s are required to do this in {{order}} to receive settlement funds from completed {{transaction}} s api end point /nicepay/api/direct/v2/confirmakulaku request method post post description performs receipt confirmation for fund {{settlement}} 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 {{merchant}} id ionpaytest merchanttoken required required an 255 {{merchant}} token 6cfccfc0046773c1b589d8e98f8 response parameter parameter type size description example / notes resultcd required required n 4 result code docid 2r5sr3xvppu1eju1nitg resultmsg required required an 30 result code docid 2r5sr3xvppu1eju1nitg responsedata required required an 255 {{merchant}} token