| Deposit amount rules | |
|---|
| Deposit channel | Minimum single transaction | Maximum single transaction |
| BANK | 40 | 30,000 |
| EWALLET | 40 | 500 |
Request
Body Params application/json
{
"amount": "100",
"currency": "MYR",
"customerAccountNumber": "123456789",
"customerContact": "13116709877",
"customerEmail": "g13116709877@163.com",
"customerName": "DW",
"mchNo": "M1688457769",
"mchOrderNo": "ML202211111111773",
"notifyUrl": "http://47.241.33.220:8896/tarspay/notify",
"returnUrl": "https://www.tarspay.com/notify/return",
"wayCode": "CASHIER"
}
Request Code Samples
curl --location --request POST '/api/pay/unifiedOrder' \
--header 'X-API-KEY: 03828e8e30fb0a705776e32302d7f54a8037ae3926220bbc19c588eedc3b26ec12' \
--header 'X-API-NONCE: 1704180814988' \
--header 'X-API-SIGNATURE: 304402207113128d16fc37707fdc8095b878e70d2d9799b4a14402a6244065a208a99968022004e1b9bead988594c715a40b5fc87642e0f738ff0f97c167c1cab20d5c5a3783' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": "100",
"currency": "MYR",
"customerAccountNumber": "123456789",
"customerContact": "13116709877",
"customerEmail": "g13116709877@163.com",
"customerName": "DW",
"mchNo": "M1688457769",
"mchOrderNo": "ML202211111111773",
"notifyUrl": "http://47.241.33.220:8896/tarspay/notify",
"returnUrl": "https://www.tarspay.com/notify/return",
"wayCode": "CASHIER"
}'
Responses
application/json {
"code": 0,
"data": {
"amount": "130",
"countryCode": "my",
"currency": "MYR",
"customerContact": "9843734111",
"expiredTime": 1659320053,
"mchOrderNo": "D1659318251029",
"orderState": 1,
"payDataType": "payurl",
"payOrderId": "P1553919495852986369",
"payUrl": "https://payment.tarspay.com/tarspayToC/#/order/in/P1553919495852986369",
"payWays": {
"PFX": [
{
"countryCode": "my",
"payWay": "PFX",
"payWayLogo": "https://tarspay.oss-ap-southeast-1.aliyuncs.com/tarspay_v_1.0/upi.svg",
"payWayType": "bank",
"skipMode": 2
}
]
}
},
"msg": "SUCCESS",
"sign": "304402203e74cff204c473a6fac79522065af5d62e603f3c0218110e8e09951e7b6e1c050220281a39dc609b1e347d0eddc6b9c717a98907606156ff62b0b2b4d4ddec745d12"
}
Modified at 2025-04-24 11:15:16