Skip to content

Transaction Result

This method allows you retrieving the result of a transaction sent previously.

You need to provide an IP whitelist for us to access this interface.

Request URL:

Request parameters

Please submit it through the POST method, the data format is Key-Value Pair.

NameTypeMax LengthDescription
merNoString5Merchant number assigned by fireantpay .
gatewayNoString8Gateway number(Sub-merchant number) assigned by fireantpay.
orderNoString1000Merchant order number.
Can inquire one or more order No. (can only enter up to 100 order number)
The separator must be a comma","
signInfoString64Digital signature information
signInfo = sha256(merNo + gatewayNo + signkey);

Response parameters

If the batch query will return many records.

The parameters after "returnStatus" in the table is not available by default, they can be enabled in a production environment. The data format is JSON.

NameTypeDescription
merNoStringMerchant number assigned by fireantpay .
gatewayNoStringGateway number(Sub-merchant number) assigned by fireantpay .
orderNoStringCustomer’s order number.
tradeNoStringUnique identifier
tradeDateStringTrading hours. yyyyMMddHHmmss
tradeAmountStringCustomer’s order amount.
tradeCurrencyStringCustomer’s order currency.
sourceWebSiteStringCustomer’s order website.
queryResultString-2:To be confirmed
-1:To be processing
0 : failure
1 : success
2 : orders does not exist
5 : 3D Fail
returnStatusString1 : success
3 : incoming parameters incomplete
4 : order an excessive number(can only enter up to 100 order number)
5 :merchants, gateway access error
6 :signInfo information error
7 :access to the ip error(the IP must be in the whitelist)
999: query system error occurred
dealDateStringProcessing date.
Format: yyyyMMddHHmmss
cardTypeStringCard type:
1:Visa
2:Master
3:JCB
4:AE
resultInfoStringBank return information.
isRefundmentStringRefund status.
0:No refund
1:Refunded
isProtestStringChargeback status.
0: No chargeback
1: Chargeback
isExplainStringAppeal status.
-2: Not appealed
-1: appealing
 0: failed
 1: success
cardNoStringCard Number.
The first six digits + **_ + the last four digits, such as 544444_**4445.
binCountryStringBin country. eg:US
remarkStringRemark.
billingAddrStringBilling address

Example query interface returns:

json
{
  "merNo": "90000",
  "gatewayNo": "90000001",
  "tradeList": [
    {
      "tradeDate": "20200101080808",
      "orderNo": "12345",
      "tradeNo": "N2020010108082101234567",
      "sourceWebSite": "mytest.com",
      "tradeAmount": "323",
      "queryResult": "1",
      "tradeCurrency": "USD",
      "dealDate": "20200101080808",
      "cardType": "2",
      "resultInfo": "Approved",
      "tranSettled": "0",
      "depositSettled": "0",
      "isRefundment": "0",
      "isProtest": "0",
      "isFreeze": "0",
      "isExplain": "0",
      "upLoadType": "0",
      "email": "pay@test.com",
      "ipAddress": "127.0.0.1",
      "cardNo": "544444***4445",
      "trackingno": "",
      "logWebsize": "",
      "customerName": "test name",
      "tel": "12345",
      "addess": "Wall Street",
      "city": "New York",
      "state": "New York",
      "zipcode": "123456",
      "country": "US",
      "isCrossTrade": "0",
      "isHighRiskCountry": "No",
      "binCountry": "US",
      "ipCountry": "",
      "ipCountryCode": "",
      "ipCity": "",
      "billingAddr": "test.com",
      "remark": "for test"
    },
    {
      "tradeDate": "20200101080809",
      "orderNo": "12346"
      //  . . . . . .
    }
  ],
  "returnStatus": "1"
}