TarsPay_EN
  1. deposit
TarsPay_EN
India🇮🇳
  • Indonesia🇮🇩
  • India🇮🇳
  • Thailand🇹🇭
  • Philippines🇵🇭
  • Malaysia🇲🇾
  • Vietnam🇻🇳
  • Egypt🇪🇬
  • Bangladesh🇧🇩
  • Kenya🇰🇪
  • Pakistan🇵🇰
  • Brazil🇧🇷
  • Mexico🇲🇽
  • Korea🇰🇷
  • Türkiye🇹🇷
  • Access Guide
  • Core Business Process Description
  • Attachment Code Table
  • deposit
    • Create a deposit order
      POST
    • Query deposit order status
      POST
    • UTR query
      POST
    • Utr replenishment order
      POST
  • withdraw
    • Create withdraw order
      POST
    • Query withdraw order
      POST
  • account
    • Query balance
      POST
  • CallBack
    • Callback notification interface (customized by the merchant)
      POST
  1. deposit

Create a deposit order

POST
/api/pay/unifiedOrder

Limit information#

Deposit amount rules
Deposit channelMinimum single transactionMaximum single transaction
CASHIER10050,000
UPI10050,000

Request

Header Params

Body Params application/json

Example
{
    "amount": "100",
    "currency": "INR",
    "customerAccountNumber": "123456789",
    "customerContact": "9123456789",
    "customerEmail": "g762646676@126.com",
    "customerName": "DW",
    "mchNo": "M1688443660",
    "mchOrderNo": "YN220221122000000733",
    "notifyUrl": "https://payment-test.tarspay.com/notify",
    "returnUrl": "",
    "wayCode": "UPI"
}

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 --request POST '/api/pay/unifiedOrder' \
--header 'X-API-KEY: 03f7cd24b7c3cf26aad23c15eb7b36a8ed35d9964d03d1e96da6214c855dd29c32' \
--header 'X-API-NONCE: 1704334484607' \
--header 'X-API-SIGNATURE: 3046022100bb4818ddbe977ea24ef6eba575819bffaeb7eb2a559cc3a4eb40d96397081982022100806178e43002e7376881f1e108abb2ed3cfc0d9d830cf73a80bf5b1e2db8848f' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": "100",
    "currency": "INR",
    "customerAccountNumber": "123456789",
    "customerContact": "9123456789",
    "customerEmail": "g762646676@126.com",
    "customerName": "DW",
    "mchNo": "M1688443660",
    "mchOrderNo": "YN220221122000000733",
    "notifyUrl": "https://payment-test.tarspay.com/notify",
    "returnUrl": "",
    "wayCode": "UPI"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 0,
    "data": {
        "amount": "100",
        "countryCode": "in",
        "currency": "INR",
        "customerContact": "9123456789",
        "mchOrderNo": "YN220221122000000733",
        "orderState": 0,
        "payDataType": "payurl",
        "payOrderId": "P1742731237818892289",
        "payUrl": "https://payment-test.tarspay.com/#/order/in/P1742731237818892289",
        "payWays": {
            "UPI": [
                {
                    "countryCode": "in",
                    "createdAt": 0,
                    "id": 20,
                    "payWay": "UPI",
                    "payWayLogo": "https://tarspay.oss-ap-southeast-1.aliyuncs.com/tarspay_v_1.0/upi.svg",
                    "payWayType": "UPI",
                    "skipMode": 1,
                    "state": 1,
                    "updatedAt": 0
                }
            ]
        }
    },
    "msg": "SUCCESS",
    "sign": "3046022100d848b8f671f8716e47ff0ae017f23ea18f3475d306662b890d684235f2516d2b022100a89cbadc21e37ff579a4e02fcc7ae5f85741406f11c44dcb1efec6c4c49586cd"
}
Modified at 2025-04-24 08:29:52
Previous
Attachment Code Table
Next
Query deposit order status
Built with