Payment - API E-Wallet
- visit E-Wallet Payment Flow to acknowledge flow difference between general with AstraPay.
The payment process can only be carried out after going through the registration process, please learn further about registration on Registration - API E-Wallet page.
Parameter | Type | Size | Description | Example / Notes |
---|---|---|---|---|
timeStamp Required | N | 14 | Request Timestamp (YYYYMMDDHH24MISS) | 20221208065959 |
tXid Required | AN | 30 | Transaction ID | IONPAYTEST05202212081111197444 |
merchantToken Required | AN | 255 | 324a7d07d9f3fe30a3960b28af29a91fc30a33fb3332cf33d40394f30d1f399f | |
callBackUrl RequirementResult.jd | AN | 255 | Result Page | https://www.nicepay.co.id/IONPAY_CLIENT/paysp |
returnJsonFormat Required for Shopeepay | AN | 100 | 1: return redirectUrlApp and/or redirectUrlHttp empty/0: return HTML to redirect |
You can follow and guidance of ShopeePay on E-Wallet Integration & Testing .
Parameter | Type | Size | Description | Example / Notes |
---|---|---|---|---|
resultCd | N | 14 | Result Code | 0000 |
resultMsg | AN | 225 | Result Message: Error Code | Success |
tXid | AN | 30 | Transaction ID | IONPAYTEST05202406260930529202 |
referenceNo | ANS | 40 | 20240626093051 | |
payMethod | N | 2 | 05 | |
amt | N | 12 | Amount | 10000 |
transDt | N | 8 | Transaction Date (YYYYMMDD) | 20240626 |
transTm | N | 6 | Transaction Date (HH24MISS) | 093052 |
mitraCd | AN | 4 | Mitra Code | ESHP |
callBackUrl | ANS | 500 | https://merchant.co.id/nicepay-callback |
When Your callback already received callbackUrl, recommended to do verification using Status Inquiry - API E-Wallet.
Parameter | Type | Size | Description | Example / Notes |
---|---|---|---|---|
resultCd | N | 4 | Result Code | 0000 |
resultMsg | AN | 255 | Result M essage: Error Code | Success |
tXid | AN | 30 | Transaction ID | IONPAYTEST05202406260930529202 |
referenceNo | ANS | 40 | 20240626093051 | |
payMethod | N | 2 | 05 | |
amt | N | 12 | Amount | 10000 |
transDt | N | 8 | Transaction Date (YYYYMMDD) | 20240626 |
transTm | N | 6 | Transaction Date (HH24MISS) | 093052 |
mitraCd | AN | 4 | Mitra Code | ESHP |
paymentExpDt | N | 8 | 20240626 | |
paymentExpTm | N | 6 | 093530 | |
redirectUrlHttp | AN | 100 | https://pay.uat.airpay.co.id/h5pay/example | |
redirectUrlApp | AN | 100 | For ShopeePay, this value will be deprecated | |
redirectToken | AN | 2000 | | Used only for LinkAja |