Hands On API
Enjoy our NICEPAY product and service with a single integrated API that is secure also easy to integrate into your business. Start the rapid integration process only in 15 minutes!
- MID/iMid (Merchant ID)
- API Key (Merchant Key)
- NICEPAY SDK - Optional
Please check this Authentication page first to get the precondition requirements.
Payment Flow step description of Credit Card redirect with 3Ds:
- The Customer performs checkout.
- The Customer sends checkout data to Merchant.
- The Merchant requests checkout using Registration API to NICEPAY.
- NICEPAY registers checkout data.
- NICEPAY redirects payment to the NICEPAY page to Merchant.
- The Merchant sends NICEPAY payment page to Customer.
- The Customer chooses a payment method.
- The Customer inputs card data.
- The Customer sends card data information to NICEPAY.
- NICEPAY processes FDS calculation.
- NICEPAY requests 3Ds to Bank.
- Bank performs 3Ds validation.
- Bank sends response URL 3Ds to NICEPAY.
- NICEPAY receives verification response.
- NICEPAY redirects Customer to ACS authentication page.
- Bank creates OTP response.
- Bank sends OTP to Customer.
- The Customer receives OTP.
- The Customer inputs OTP.
- The Customer sends OTP to Bank.
- Bank performs OTP verification.
- Bank sends 3Ds result to NICEPAY.
- NICEPAY receives checking results.
- NICEPAY requests payment to Bank.
- Bank proceeds with the payment process.
- Bank sends payment notification to NICEPAY.
- NICEPAY redirects callbackUrl to Merchant.
- The Merchant displays callbackUrl result to Customer.
- NICEPAY sends payment notifications to Merchant.
- The Merchant receives the notification.
- The Merchant performs request inquiry to NICEPAY.
- NICEPAY receives the request.
- NICEPAY automatically sends an inquiry response to Merchant.
- The Merchant receives the last status.
- The Merchant sends the transaction result page to Customer.
On this process, You will use our Checkout product. All NICEPAY Checkout API transactions will redirect to NICEPAY Secure Payment Page as the payment process.
Follow these five easy steps to perform payment integration with NICEPAY.
- Perform call Transaction Registration API.
- Redirect to NICEPAY Secure Payment Page.
- Process payment on NICEPAY Secure Payment Page.
- NICEPAY will redirect end-user to Merchant callbackUrl.
- Merchant perform call Status Inquiry API.
API End Point | |
Request Method | POST |
Header | Content-Type: application/json |
Description | Perform Transction Registration |
Merchant Token | SHA256(timeStamp+iMid+referenceNo+amt+merchantKey) |
Access further API specification on Registration - API Checkout.
API End Point | |
Request Method | GET |
Header | Content-Type: application/Form-UrlEncoded |
Description | Perform Transction Registration |
Merchant Token | SHA256(timeStamp+iMid+referenceNo+amt+merchantKey) |
After receive response, you can redirect Customer to NICEPAY payment page. That URL is a combination of paymentURL + tXid as response parameter that will has a result like this example:https://dev.nicepay.co.id/nicepay/redirect/v2/payment?tXid=IONPAYTEST00202212191025073439
Example at the above is Transaction Payment using Credit Card payment method. Find the complete API specification on Credit Card - API Checkout.
After User choose Credit Card as the payment method, User will redirect to Merchant page by callbackUrl with POST method and sending parameter.
When Callback to Your callbackUrl have been received, we strongly recommend Merchant to verify status by using Status Inquiry - API Credit Card.
CallBack Handling is very helpful to minimize Fraud actions. We strongly recommend Merchants to verify the callBack parameter.
Congratulations! You have successfully perform an integration trial!
Explore further through the link below.
Find out explanation about payment method and custom product on Payment page.
Find further explanation related product available on NICEPAY at the Checkout page.
Visit the Payout page to learn the detail of API used.
Visit the Messaging page to learn about NICEPAY’s messaging service.