| Amount collection rules | ||
|---|---|---|
| Agency collection channels | Minimum single transaction | Maximum single transaction |
| jazzcash | 100 | 50,000 |
| easypaisa | 100 | 50,000 |
{
"amount": "20",
"currency": "PKR",
"customerContact": "03001234567",
"customerEmail": "caizhuch1199w@gmail.com",
"customerName": "GDW",
"mchNo": "M1677225721",
"mchOrderNo": "BJST73520250300058",
"notifyUrl": "http://47.241.33.220:8896/tarspay/notify",
"returnUrl": "https://47.241.33.220:8896/notify/return",
"wayCode": "easypaisa"
}curl --location --request POST '/api/pay/unifiedOrder' \
--header 'X-API-KEY: 0221f85d6a09945403ef161b5200f4df152935a748ce2b9f291bb2d351d709b6a0' \
--header 'X-API-NONCE: 1704250498993' \
--header 'X-API-SIGNAT URE: 304502203968d3ce6a4c275816fbf71feee790ca4dfb192df71d49e10d631436 8470bf79022100b9cacaf8df3fd302bd408b2f0e75c9a54069b3994748b6a31aac1dd3928ff0a6' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": "20",
"currency": "PKR",
"customerContact": "03001234567",
"customerEmail": "caizhuch1199w@gmail.com",
"customerName": "GDW",
"mchNo": "M1677225721",
"mchOrderNo": "BJST73520250300058",
"notifyUrl": "http://47.241.33.220:8896/tarspay/notify",
"returnUrl": "https://47.241.33.220:8896/notify/return",
"wayCode": "easypaisa"
}'{
"code": 0,
"data": {
"amount": "20",
"body": "Test",
"countryCode": "pk",
"currency": "PKR",
"customerContact": "3001234567",
"expiredTime": 1742282136,
"mchOrderNo": "BJST648202503000207",
"orderState": 1,
"originalAccountNumber": "123456789",
"payDataType": "payurl",
"payOrderId": "P1901532855833436162",
"payUrl": "https://checkout-s2.pk-bpay.com/pay-v2.php/630848dff40a0f72ce09e448084acdc954b441a3c04b2",
"payWays": {
"ewallet": [
{
"countryCode": "pk",
"createdAt": 0,
"id": 114,
"payWay": "easypaisa",
"payWayLogo": "https://defipay.oss-ap-southeast-1.aliyuncs.com/easypaisa.png",
"payWayType": "ewallet",
"skipMode": 2,
"state": 1,
"updatedAt": 0
}
]
},
"requestUrl": "https://www.tarspay.com/notify/return",
"subject": "Buycar"
},
"msg": "SUCCESS",
"sign": ""
}