NICEPAY API
...
Checkout API
Registration - API Checkout

Virtual Account - API Checkout

15min

About Virtual Account - API Checkout



This

 uses by

s to request

to

with a


using


.



Flow Process


VA Payment Flow with Checkout API
VA Payment Flow with Checkout API


Steps description:

  1. The
    
    performs
    
    .
  2. The
    
    sends
    
    data to
    
    
    .
  3. The
    
    requests
    
    using Registration
    
    to
    
    .
  4. 
    
    redirects
    
    
    to
    
    
    .
  5. The
    
    sends
    
    's
    
    
    to
    
    
    .
  6. The
    
    chooses
    
    
    .
  7. The
    
    makes
    
    
    using VA to
    
    .
  8. 
    
    
    s
    
    
    .
  9. 
    
    sends
    
    
    result to
    
    
    .
  10. 
    
    sends
    
    
    to
    
    .
  11. 
    
    updates
    
    
    of
    
    .
  12. 
    
    sends dbProcessUrl
    
    to
    
    
    .
  13. The
    
    receives
    
    
    .
  14. The
    
    requests inquiry
    
    to
    
    .
  15. 
    
    receives
    
    request.
  16. 
    
    sends
    
    response of inquiry
    
    to
    
    
    .
  17. The
    
    receives
    
    final
    
    .
  18. The
    
    sends
    
    
    result
    
    to
    
    
    .



NICEPAY Secure Payment Page





 visit

VA Payment Guide

to be able to provide your

with

guide on


method.

Secure Payment Page
Secure Payment Page


The image above is a

 sample with

method using

Secure

Page.



 directs your

to choose

options for ATM/

Transfer on

's


to



.

Virtual Account - Secure Payment Page
Virtual Account - Secure Payment Page


After choosing

 method with

Transfer, your

will provide with

lists that can choose to continue



.

Success - Secure Payment Page
Success - Secure Payment Page




API Checkout Transaction Payment



Checkout Transaction



for

use to request registration and

.

API URL

/nicepay/redirect/v2/payment

Request Method

Redirect-GET

Header

Content-Type: application/Form-UrlEncoded



Request Parameters for Checkout Payment Virtual Account



Parameter

Type

Size

Description

Remark

paymentURL

Required

ANS

14



 URL



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

tXid

Required

AN

30

Transaction ID



IONPAYTEST00202212231003086046



Response Parameters (CallbackUrl) - Checkout Payment Virtual Account



Parameter

Type

Size

Description

Remark

resultCd

N

4

0000

resultMsg

AN

255

Result Message: Error Code

SUCCESS

bankVacctNo

N

30



 Number

111111101003086046



When Success

tXid

AN

30

Transaction ID

IONPAYTEST00202212231003086046



When Success

referenceNo

ANS

40

Order Number

ordNo20221223101289



When Success

amount

N

12

Transaction Amount

10000



When Success

transDt

N

8

Transaction Date (YYYYMMDD)

20221223



When Success

transTm

N

6

Transaction Time (HH24MISS)

100308



When Success

bankCd

A

4

Mitra Code

CENA



When Success

description

AN

100

Transaction Description

Testing+Transaction+Virtual+Account



When Success

Note: Response

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



Sample Parameter for CallbackUrl API Checkout Payment Virtual Account



On



when

,

response from

request that got hit is a Callback URL.

URL Request
URL Callback
Response Callback




CallBack Handling API Checkout Payment Virtual Account



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 API
Callback Handling API

URL CallBack
Response CallBack