NICEPAY API
...
API Versi 1
V1 Enterprise

Virtual Account - V1 Enterprise

9min

Virtual Account





 menawarkan

sebagai

. Dengan ini, Pembeli dapat melakukan

melalui ATM,


ing, Internet

ing, atau Mobile

ing. Real Time Notification akan dikirimkan ketika Pembeli berhasil melakukan

.

Supported Bank by NICEPAY

  1. 
    
    Mandiri.
  2. 
    
    International
    
    Maybank.
  3. 
    
    Permata.
  4. 
    
    Permata Syariah.
  5. 
    
    Central Asia (BCA).
  6. 
    
    Negara
    
    46 (BNI).
  7. 
    
    KEB Hana
    
    .
  8. 
    
    Rakyat
    
    (BRI).
  9. 
    
    CIMB Niaga.
  10. 
    
    DANAMON.

Kami juga mendukung



dari

lain melalui ATM BERSAMA, ALTO, LINK, dan PRIMA.

VA Flow V1

  1. 
    
    melakukan Request untuk Registrasi VA.
  2. 
    
    menampilkan rincian dan cara
    
    .
  3. Pembeli melakukan
    
    dengan channel
    
    diinginkan (m-Banking, ATM, dll).
  4. 
    
    mengirimkan Notifikasi ke
    
    .

Virtual Account Flow V1 Enterprise

Virtual Account Flow V1 Enterprise
Virtual Account Flow V1 Enterprise


Alur transaksi:

  1. 
    
    mengirimkan data
    
    kepada
    
    .
  2. 
    
    mengirimkan pengajuan pendaftaran menggunakan Regist API kepada
    
    .
  3. 
    
    mengirimkan response nomor VA dan TXID kepada
    
    .
  4. 
    
    menyimpan nomor VA.
  5. 
    
    mengirim
    
    VA kepada
    
    .
  6. 
    
    memasukkan nomor VA kemudian mengirimkan data kepada
    
    .
  7. 
    
    mengirimkan
    
    Inquiry kepada
    
    .
  8. 
    
    melakukan
    
    menggunakan VA kepada
    
    .
  9. 
    
    melakukan validasi
    
    .
  10. 
    
    mengirimkan
    
    hasil
    
    kepada
    
    .
  11. 
    
    mengirimkan Payment Notification/Payment Message kepada
    
    .
  12. 
    
    memperbaharui
    
    
    .
  13. 
    
    mengirimkan
    
    dbProcessUrl kepada
    
    .
  14. 
    
    menerima
    
    .
  15. 
    
    memeriksa Inquiry Status menggunakan Inquiry
    
    kepada
    
    .
  16. 
    
    mengirim response kepada
    
    .
  17. 
    
    memperbaharui
    
    .
  18. 
    
    mengirimkan konfirmasi pesanan kepada
    
    .



VA Registration



API Specifications - VA Registration

API Endpoint

/nicepay/api/onePass.do

Request Method application/x-www-form-urlencoded

POST

Description

Request vacctNo for





Merchant Token

SHA256(iMid+referenceNo+amt+merchantKey)

Payment Method

02





Request Parameter - VA Registration

Sample API Request


Parameter

Tipe

Ukuran

Deskripsi

Contoh / Catatan

iMid

Required

AN

10



 ID

IONPAYTEST

payMethod Required 

AN

2

02

currency Required 

N

3

Currency

IDR

amt Required 

N

12

Goods Amount

15000

referenceNo Required

ANS

40



 Order Number

ordNo123124

goodsNm Required 

AN

100

Goods Name

Test Goods

billingNm Required 

A

30

Billing Name

John Doe

billingPhone Required 

N

15

Billing Phone Number

08123456789

billingEmail Required 

AN

40

Billing E-Mail

billingAddr

AN

100

Billing Address

Billing Address

billingCity Required

A

50

Billing City

Jakarta

billingState Required 

A

50

Billing State

DKI Jakarta

billingPostCd Required 

N

10

Billing Post Number

14350

billingCountry Required 

A

10

Billing Country





callBackUrl Required 

ANS

255



 Result URL

https://merchant.com/callBackUrl

dbProcessUrl Required 

ANS

255



 Notif URL

https://merchant.com/dbProcessUrl

description Required 

AN

100

Description

test item

merchantToken Required 

AN

255



 Token

6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf8 6eba14c18944b74bcd

userIP Required

ANS

15

User IP (

)

127.0.0.1

cartData Required

JSON OBJECT

4000

Cart Data (JSON Format)

{}

bankCd Required

A

4

Bank Code

CENA

deliveryNm

A

30

Delivery Name

John Doe

deliveryPhone

N

15

Delivery Phone

08125912342

deliveryAddr

AN

100

Delivery Address

Jln Merak

deliveryCity

A

50

Delivery City

Jakarta

deliveryState

A

50

Delivery State

DKI Jakarta

deliveryPostCd

A

10

Delivery Post Code

14350

deliveryCountry

A

10

Delivery Country





vat

N

12





0

fee

N

12

Service Tax

0

notaxAmt

N

12

Tax Free Amount

0

reqDt

N

8

Request Date (YYYYMMDD)

20160301

reqTm

N

6

Request Time (HH24MISS)

135959

reqDomain

ANS

100

Request Domain

merchant.com

reqServerIP

ANS

15

Request Server IP

127.0.0.1

reqClientVer

ANS

50

Request Client Version

1.0

userSessionID

AN

100

User Session ID

userSessionID

userAgent

ANS

100

User Agent

Mozilla

userLanguage

ANS

2

User Language

en-US

merFixAcctId

AN

40



 Reserved VA ID

9999000000000001



Only VA Fix Account

vacctValidDt

N

8

VA Expiry Date (YYYYMMDD)

20200303

vacctValidTm

N

6

VA Expiry Time (HH24MISS)

135959



Response Parameter - VA Registration

Sample API Response


Parameter

Tipe

Ukuran

Deskripsi

Contoh / Catatan

resultCd

N

4

Result Code

0000

resultMsg

AN

255

SUCCESS

tXid

AN

30

Transaction ID

TESTIDTEST02201803011047210789

referenceNo

ANS

40



 Order Number

99997

payMethod

N

2

02

amount

N

12



 Amount

10000

transDt

N

8

Transaction Date (YYYYMMDD)

20180301

transTm

N

6

Transaction Time (HH24MISS)

104721

description

ANS

100

Transaction Description



 of Reference Number 99997, This Description

callbackUrl

ANS

100

Callback URL

http://www.merchant.com/callbackUrl

bankCd

A

4

Bank Code

BMRI

bankVacctNo

N

20

VA Number

1047210789

currency

A

3

Currency

IDR

goodsNm

AN

100

Goods Name

Test Transaction {{nic}}

billingNm

A

30

Buyer Name

Thomas Alfa Edison

vacctValidDt

N

8

VA Expired Date (YYYYMMDD)

20180308

vacctValidTm

N

6

VA Expired Time (HH24MISS)

235959