1. deposit
TarsPay_EN
  • General Access Guide
  • Indonesia🇮🇩
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • India🇮🇳
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
      • UTR query
      • Utr replenishment order
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Thailand🇹🇭
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Philippines🇵🇭
    • Access Guide
    • Attachment Code Table
    • Core Business Process Description
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Malaysia🇲🇾
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Vietnam🇻🇳
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Egypt🇪🇬
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Bangladesh🇧🇩
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
      • Query TrxId
      • Reprocess TrxId
      • Submit trxid (used by merchants who build their own POS systems)
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Kenya🇰🇪
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Pakistan🇵🇰
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
        POST
      • Query deposit order status
        POST
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Brazil🇧🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
      • Query TrxId
    • withdraw
      • Create withdraw order
      • Query withdraw order
      • withdraw query payment certificate
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Mexico🇲🇽
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Korea🇰🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Türkiye🇹🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Argentina🇦🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Order status callback
  • Schemas
    • ArgentinaPayInRequest
    • ErrorResponse
    • PayInOrderSuccessResponse
    • PayInOrderData
    • OrderState
    • OrderQueryRequest
    • PayInQuerySuccessResponse
    • PayInQueryData
    • ArgentinaPayOutRequest
    • PayOutOrderSuccessResponse
    • PayOutOrderData
    • PayOutQuerySuccessResponse
    • PayOutQueryData
    • BalanceQueryRequest
    • BalanceQuerySuccessResponse
    • BalanceQueryData
    • OrderNotify
    • NotifyState
  1. deposit

Create a deposit order

POST
/api/pay/unifiedOrder

Limit information#

Amount collection rules
Agency collection channelsMinimum single transactionMaximum single transaction
jazzcash10050,000
easypaisa10050,000
qr_jazzcash10050,000
qr_easypaisa10050,000
qr_raast10050,000

Payment method description#

wayCodeModeDescription
jazzcash, easypaisaOfficial billA payment bill is pushed to the user's wallet, and the user confirms the payment in the APP
qr_jazzcash, qr_easypaisaQR codeA QR code is returned and the user scans it with the wallet APP to pay; the order is valid for 10 minutes, and the payment amount must exactly match the order amount
qr_raastQR code (Raast)A QR code is returned and the user can scan it with JazzCash, Easypaisa or any bank APP to pay; the payer must provide the full IBAN (see customerContact); the order is valid for 10 minutes, and the payment amount must exactly match the order amount

Request

Header Params

Body Params application/json

Example
{
    "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"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/pay/unifiedOrder' \
--header 'X-API-KEY:  0221f85d6a09945403ef161b5200f4df152935a748ce2b9f291bb2d351d709b6a0' \
--header 'X-API-NONCE:  1704250498993' \
--header 'X-API-SIGNATURE: 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"
}'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{
    "code": 0,
    "data": {
        "amount": "15",
        "body": "Test",
        "countryCode": "pk",
        "currency": "PKR",
        "customerContact": "03151537267",
        "expiredTime": 1746757486,
        "mchOrderNo": "BJST147202504000630",
        "orderState": 1,
        "originalAccountNumber": "03475778430",
        "payDataType": "payurl",
        "payOrderId": "P1920303833375371266",
        "payUrl": "https://pay.tpservice.vip/#/order/pk/P1920303833375371266",
        "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": ""
}
Modified at 2026-11-05 08:39:55
Previous
Attachment Code Table
Next
Query deposit order status
Built with