NICEPAY API
...
Checkout API
Payment - API Checkout
GPN - API Checkout
13 min
about gpn api checkout this {{api}} uses by {{merchant}} to requests a {{payment}} to {{the}} {{nicepay}} for {{gpn}} {{paymethod}} using {{checkoutproduct}} {{api}} process flow steps description the {{customer}} performs {{checkout}} the {{customer}} sends {{the}} {{checkout}} data to {{the}} {{merchant}} the {{merchant}} sends {{checkout}} requests by using registration {{api}} to {{nicepay}} {{nicepay}} {{proceed}} ing {{the}} {{checkout}} registration {{process}} {{nicepay}} redirects {{merchant}} to {{nicepay}} 's {{payment}} {{page}} the {{merchant}} displays {{nicepay}} 's {{page}} to {{the}} {{customer}} the {{customer}} chooses {{the}} {{paymethod}} the {{customer}} inputs {{the}} card data the {{customer}} sends {{the}} card data by using {{paymentproduct}} {{api}} to {{nicepay}} {{nicepay}} requests token from {{bank}} / {{gpn}} issuing the {{bank}} / {{gpn}} issuing receives {{the}} request the {{bank}} / {{gpn}} issuing sends {{the}} token to {{nicepay}} {{nicepay}} receives {{the}} verification response at {{the}} same time {{nicepay}} redirects {{the}} {{customer}} to {{the}} das authentication {{page}} {{nicepay}} requests otp from {{bank}} / {{gpn}} issuing the {{bank}} / {{gpn}} issuing sends otp to {{the}} {{customer}} the {{customer}} receives {{the}} otp the {{customer}} inputs and sends otp to {{the}} {{bank}} / {{gpn}} issuing the {{bank}} / {{gpn}} issuing validates {{the}} otp the {{bank}} / {{gpn}} issuing sends {{the}} response validation to {{nicepay}} {{nicepay}} requests a charge to {{the}} {{bank}} / {{gpn}} issuing the {{bank}} / {{gpn}} issuing performs {{the}} charge amount the {{bank}} / {{gpn}} issuing sends {{the}} {{payment}} {{notification}} to {{nicepay}} {{nicepay}} redirects {{merchant}} to callbackurl the {{merchant}} displays callbackurl to {{the}} {{customer}} {{nicepay}} sends {{the}} {{payment}} {{notification}} to {{the}} {{merchant}} the {{merchant}} receives {{the}} {{notification}} the {{merchant}} requests inquiry {{status}} to {{nicepay}} {{nicepay}} receives {{the}} request {{nicepay}} sends {{the}} inquiry {{status}} response to {{the}} {{merchant}} the {{merchant}} receives {{the}} final {{status}} the {{merchant}} sends {{the}} {{transaction}} result {{page}} to {{the}} {{customer}} before making an {{api}} calls for payment api checkout , execute {{the}} transaction registration first nicepay secure payment page the image above is a sample of {{checkout}} {{payment}} procedures with {{the}} {{gpn}} method using {{the}} {{nicepay}} secure {{paymentproduct}} page after choosing {{the}} {{bank}} transfer method, you will be provided by {{bank}} lists that can be used to continue {{the}} {{payment}} {{process}} the {{process}} of submitting a {{payment}} registration request has been completed you can continue {{the}} {{transaction}} {{process}} until settlement by following {{the}} guidelines on {{the}} gpn payment guide api checkout transaction payment api url /nicepay/redirect/v2/payment request method redirect get header content type application/form urlencoded request parameters for payment parameter type size description remark paymenturl ans 14 {{paymentproduct}} url required https //dev nicepay co id/nicepay/redirect/v2/payment txid required required an 30 transaction id ionpaytest00202212201342456336 note the 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}} in {{checkoutproduct}} , {{the}} response from {{the}} request that gets hit is {{the}} callback url url request https //dev nicepay co id/nicepay/redirect/v2/payment?txid=ionpaytest00202212211103524783 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 callback handling is very important to minimize {{the}} fraud act, we highly recommend {{the}} {{merchant}} to do {{the}} verification using callback parameter response callback resultcd=0000 resultmsg=success txid=ionpaytest00202212211103524783 referenceno=orderku345 paymethod=09 amt=12000 billingnm=john+doe authno=150367 cardno=62210082 0590 acqubankcd=artj issubankcd=artj acqubanknm=artajasa issubanknm=artajasa url callback https //merchant com/callback nicepay?resultcd=0000\&resultmsg=success\&txid=ionpaytest00202212211103524783\&referenceno=orderku345\&paymethod=09\&amt=12000\&billingnm=john+doe\&authno=150367\&cardno=62210082 0590\&acqubankcd=artj\&issubankcd=artj\&acqubanknm=artajasa\&issubanknm=artajasa