NICEPAY API
...
Checkout API
Payment - API Checkout

GPN - API Checkout

13min

About GPN - API Checkout



This uses by to requests a to for using .



Process Flow


GPN Process Flow
GPN Process Flow


Steps description:

  1. The performs .
  2. The sends data to .
  3. The sends requests by using Registration to .
  4.  ing registration .
  5.  redirects to 's .
  6. The displays 's to .
  7. The chooses .
  8. The inputs card data.
  9. The sends card data by using to .
  10.  requests token from / Issuing.
  11. The / Issuing receives request.
  12. The / Issuing sends token to .
  13.  receives verification response.
  14. At same time:
    •  redirects to DAS authentication .
    •  requests OTP from / Issuing.
  15. The / Issuing sends OTP to .
  16. The receives OTP.
  17. The inputs and sends OTP to / Issuing.
  18. The / Issuing validates OTP.
  19. The / Issuing sends response validation to .
  20.  requests a charge to / Issuing.
  21. The / Issuing performs charge amount.
  22. The / Issuing sends to .
  23.  redirects to callbackUrl.
  24. The displays callbackUrl to .
  25.  sends to .
  26. The receives .
  27. The requests inquiry to .
  28.  receives request.
  29.  sends inquiry response to .
  30. The receives final .
  31. The sends result to .

Before making an calls for Transaction Payment, execute Transaction Registration first.



NICEPAY Secure Payment Page


Secure Payment Page
Secure Payment Page


The image above is a sample of procedures with method using Secure Page.

After choosing Transfer method, you will be provided by lists that can be used to continue .

The of submitting a registration request has been completed. You can continue until settlement by following guidelines on 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

 URL

Required

https://dev.nicepay.co.id/nicepay/redirect/v2/payment

tXid

Required

AN

30

Transaction ID



IONPAYTEST00202212201342456336

Note: The response will be sent through callBackurl with Content-type: application/json and method: POST Parameter.

Sample Parameter for CallbackUrl API Checkout Payment



On in , response from request that gets hit is Callback URL.

Url Request




CallBack Handling API Checkout Payment



When Your callback already received callbackUrl, we recommended to do verification using Status Inquiry - API Checkout.

CallBack Handling is very important to minimize Fraud act, we highly recommend to do verification using callBack parameter.

Callback Handling Flow
Callback Handling Flow

Response CallBack
Url Callback