NICEPAY API
...
Payment - API Checkout
Direct Debit - API Checkout
14 min
about direct debit api checkout this {{api}} uses by {{merchant}} to requests {{payment}} to {{nicepay}} for {{directdebit}} {{paymethod}} using {{checkoutproduct}} {{api}} process flow steps description the {{customer}} requests {{checkout}} to {{the}} {{merchant}} the {{merchant}} will register {{checkout}} by using registration {{api}} to {{nicepay}} {{nicepay}} save {{order}} regist {{nicepay}} redirect {{merchant}} to {{the}} {{nicepay}} {{page}} the {{merchant}} displays {{nicepay}} 's {{payment}} {{page}} to {{the}} {{customer}} the {{customer}} chooses {{the}} {{paymethod}} the {{customer}} input {{the}} {{payment}} data (jenius cashtag) the {{customer}} sends {{the}} selected {{paymethod}} to {{nicepay}} {{nicepay}} requests {{payment}} to {{bank}} {{bank}} {{proceed}} s with {{the}} authentication {{process}} {{bank}} sends {{notification}} authentication to {{the}} {{customer}} the {{customer}} performs authentication the {{customer}} requests {{the}} charge to {{bank}} {{bank}} does {{the}} {{payment}} {{process}} {{bank}} sends {{the}} {{payment}} result to {{the}} {{customer}} {{bank}} sends push {{notification}} to {{nicepay}} {{nicepay}} validates {{the}} {{notification}} {{nicepay}} updates {{the}} {{status}} {{nicepay}} sends a {{notification}} to {{the}} {{merchant}} the {{merchant}} requests {{status}} checking by using status {{api}} to {{the}} {{nicepay}} {{nicepay}} sends {{the}} response {{status}} to {{the}} {{merchant}} the {{merchant}} receives {{the}} final {{status}} the {{merchant}} sends {{the}} confirmation {{status}} update to {{the}} {{customer}} nicepay secure payment page the image above is a {{payment}} sample with {{directdebit}} method using {{nicepay}} secure {{paymentproduct}} page after selecting {{the}} method {{directdebit}} , you will be redirected to {{the}} {{page}} to select {{the}} desired {{directdebit}} {{service}} next, you will be redirected to {{the}} form {{page}} to enter your identity in {{the}} example above, if you choose jenius {{service}} , you will be asked to enter your cashtag data in {{the}} form provided after completing {{the}} form, you can continue {{the}} {{payment}} {{process}} then, you can {{proceed}} until {{the}} {{order}} {{payment}} is successful the {{process}} of {{payment}} registration request has been completed you can continue {{the}} {{transaction}} {{process}} until settlement by following {{the}} guidelines in {{the}} direct debit payment guide api checkout transaction payment 151,571,117 false false unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type request parameters for payment 128,63,76,156,297,271 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 response parameters (callbackurl) payment 166,73,85,201,195,160 false true 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 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 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 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 note response {{parameter}} will be sent through callbackurl with content type application/json and method post parameter sample parameter for callbackurl api checkout payment on {{the}} {{payment}} when {{checkoutproduct}} , {{the}} response from {{the}} request that got hit is a callback url url request https //www nicepay co id/nicepay/redirect/v2/payment?txid=ionpaytest00202212211006144703 url callback https //www merchant com/callbackurl?resultcd=0000\&resultmsg=please+do+payment+on+jenius+pay+apps\&txid=tnicecp04100202305250918306465\&referenceno=ord20230525090536\&amt=\&transdt=20230525\&transtm=091830 response callback merchanttoken=46ca2f8a7b0b24ad57e49f879764718e40839f67d00c22b3f79ba328f2a0a8aa goodsnm=jhon+doe referenceno=ord20230525090536 mitracd=jenc txid=tnicecp04100202305250918306465 amt=5000 receiptcode=951527524097 instmnttype=2 billingnm=jhon+doe matchcl=0 mrefno=202305250918303 paymethod=04 currency=idr instmntmon=1 status=0 callback handling api checkout payment when your callback already received callbackurl , we recommended {{the}} {{merchant}} to do {{the}} {{status}} verification using {{the}} status inquiry api checkout docid\ tsmzvn ulka6hnmbkk5wl callback handling is necessary to minimize fraud actions we strongly recommend {{merchant}} to verify using callback parameter url callback https //merchant com/callback nicepay?resultcd=0000\&resultmsg=please+do+payment+on+jenius+pay+apps\&txid=ionpaytest00202212211034026581\&referenceno=order20221012080918\&amt=\&transdt=20221221\&transtm=103402 response callback merchanttoken=46ca2f8a7b0b24ad57e49f879764718e40839f67d00c22b3f79ba328f2a0a8aa goodsnm=jhon+doe referenceno=ord20230525090536 mitracd=jenc txid=tnicecp04100202305250918306465 amt=5000 receiptcode=951527524097 instmnttype=2 billingnm=jhon+doe matchcl=0 mrefno=202305250918303 paymethod=04 currency=idr instmntmon=1 status=0