Notification - API E-Wallet
NICEPAY provides push notifications via dbProcessUrl Merchant. The Merchant needs to reassure there is no Blacklist NICEPAY IP and should Whitelist NICEPAY IP to get the push notification only from NICEPAY's server.
Request Method | POST |
Merchant Token | SHA256 ( iMid+ tXid + amt+ merchantKey) |
IP | 103.20.51.0/24 103.117.8.0/24 |
User-Agent | User-Agent: Jakarta Commons-HttpClient/3.1 |

When your dbProcessUrl received a notification, NICEPAY strongly recommend Merchant to verify the notification using the Status Inquiry - API E-Wallet.
Parameter | Type | Size | Description | Example / Notes |
merchantToken | AN | 255 | Merchant token | f6199198b16b5197afac725f110441bd19a8d8bc4a58830cd9abb544729948ea |
tXid | N | 30 | Transaction ID | IONPAYTEST05202212141556331691 |
referenceNo | ANS | 40 | Merchant Order No | referenceNo=ord20221214151221 |
payMethod | N | 2 | Payment Method Code | 05 |
transDt | N | 8 | Transaction date | 20221214 |
transTm | N | 6 | Transaction time | 155913 |
currency | A | 3 | Currency | IDR |
goodsNm | AN | 100 | Goods name | Testing |
billingNm | A | 100 | Billing name | John-Doe |
matchCl | N | 1 | Payment Flag: Notification Match Amount Indicator | 1 |
status | A | 1 | 0 |

Parameter | Type | Size | Description |
mitraCd | A | 4 | Mitra Code |
payNo | N | 12 | Payment Number |
payValidDt | N | 8 | Expiry Date (YYYYMMDD) |
payValidTm | N | 6 | Expiry Time (HH24MISS) |
receiptCode | ANS | 20 | Authorization number |
mRefNo | AN | 18 | Reference No. |
depositDt | N | 8 | Deposit Date (YYYYMMDD) |
depositTm | N | 6 | Deposit Time (HH24MISS) |
The Merchant Token received by the Notification Endpoint must compare internally to prevent fake/invalid notifications.
💡Example Case:
For example, you have a merchantKey that is used to generate a token, which is 1234. When the merchantToken generated by the merchant is known, it is abcd, while the merchantToken obtained in the notification is abdd. Then the notification is considered fake/invalid.