TarsPay_EN
  1. deposit
TarsPay_EN
Bangladesh🇧🇩
  • Indonesia🇮🇩
  • India🇮🇳
  • Thailand🇹🇭
  • Philippines🇵🇭
  • Malaysia🇲🇾
  • Vietnam🇻🇳
  • Egypt🇪🇬
  • Bangladesh🇧🇩
  • Kenya🇰🇪
  • Pakistan🇵🇰
  • Brazil🇧🇷
  • Mexico🇲🇽
  • Ban_TEST
  • Access Guide
  • Core Business Process Description
  • Attachment Code Table
  • deposit
    • Create a deposit order
      POST
    • Query deposit order status
      POST
    • Query TrxId
      POST
    • Reprocess TrxId
      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

Query TrxId

Developing
POST
/api/trxQuery

Request

Body Params application/json
mchNo
string 
Merchant number
required
trxId
string 
trxId
required
Example
{
  "mchNo": "M1658884178",
  "trxId": "44135135135"
}

Request 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/trxQuery' \
--header 'Content-Type: application/json' \
--data-raw '{
  "mchNo": "M1658884178",
  "trxId": "44135135135"
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
data
object 
required
message
string 
Error message
required
status
integer 
Status: 0 - Failed, unable to replenish order. 1 - Successful, can replenish order.
required
trxId
string 
trxId
required
amount
string 
Amount
required
mchOrderNo
string 
Merchant order number, return only if it has been used by another order number.
required
msg
string 
required
sign
string 
required
Example
{
    "code": 0,
    "data": {
        "message": "not paid",
        "status": 0,
        "trxId": "44135135135"
    },
    "msg": "SUCCESS",
    "sign": "304602210085734f62a5829ae369eb24bd2bd59485d70d2d1cd7d0eaebedc26fea5c7d73d2022100f5b46b15ad36795185378d15b710e47914549d4b0b65af2544da740a088864a4"
}
Previous
Query deposit order status
Next
Reprocess TrxId
Built with