TarsPay_EN
  1. deposit
TarsPay_EN
Brazil🇧🇷
  • 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
  • withdraw
    • Create withdraw order
      POST
    • Query withdraw order
      POST
    • withdraw query payment certificate
      POST
  • account
    • Query balance
      POST
  • CallBack
    • Callback notification interface (customized by the merchant)
      POST
  1. deposit

Query TrxId

POST
/api/orderInfo/trxId
代收订单TRXID查询

Request

Header Params
X-API-KEY
string 
required
Public Key
Example:
string
X-API-NONCE
string 
optional
Request time (timestamp, accurate to milliseconds)
Example:
string
X-API-SIGNATURE
string 
optional
Signature (refer to signature algorithm)
Example:
string
Body Params application/json
mchNo
string 
required
merchant number
trxId
string 
required
trxId
Example
{
  "mchNo": "M1655535407",
  "trxId": "E0000000020231214031156667989769"
}

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/orderInfo/trxId' \
--header 'X-API-KEY: string	' \
--header 'X-API-NONCE: string' \
--header 'X-API-SIGNATURE: string' \
--header 'Content-Type: application/json' \
--data-raw '{
  "mchNo": "M1655535407",
  "trxId": "E0000000020231214031156667989769"
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
data
object 
required
Three-digit currency code
currency
string 
required
Merchant fee
fee
string 
required
Merchant number
mchNo
string 
required
Merchant order number
mchOrderNo
string 
required
orderAmount
string 
required
Original transaction amount of bill
payAmount
string 
required
Payment amount
payOrderId
string 
required
Payment order number
state
integer 
required
Payment status: 0-order generated, 1-paying, 2-payment successful, 3-payment failed, 8-rejected
trxId
string 
required
trxId central bank transaction order number
msg
string 
required
Example
{
    "code": 0,
    "data": {
        "currency": "BRA",
        "fee": "0",
        "mchNo": "M1655535407",
        "mchOrderNo": "",
        "orderAmount": "10000",
        "payAmount": "10000",
        "payOrderId": "P1547429458697138178",
        "state": 2,
        "trxId": "E0000000020231214031156667989769"
    },
    "msg": "SUCCESS"
}
Previous
Query deposit order status
Next
Create withdraw order
Built with