- Access Guide
- Core Business Process Description
- Attachment Code Table
- deposit
- withdraw
- account
- CallBack
Query TrxId
Developing
POST
/api/trxQuery
Request
Body Params application/json
mchNo
string
Merchant number
trxId
string
trxId
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
status
integer
Status: 0 - Failed, unable to replenish order. 1 - Successful, can replenish order.
trxId
string
trxId
amount
string
Amount
mchOrderNo
string
Merchant order number, return only if it has been used by another order number.
msg
string
required
sign
string
required
Example
{
"code": 0,
"data": {
"message": "not paid",
"status": 0,
"trxId": "44135135135"
},
"msg": "SUCCESS",
"sign": "304602210085734f62a5829ae369eb24bd2bd59485d70d2d1cd7d0eaebedc26fea5c7d73d2022100f5b46b15ad36795185378d15b710e47914549d4b0b65af2544da740a088864a4"
}