QueryTransaction
Parameter description
Request
name | type | required | desc | example |
---|---|---|---|---|
param | JSONObject | YES | ||
─epayAccount | string | YES | Merchant Epay Account | test2020@epay.com |
─version | string | YES | Version number | V2.0.0 |
─merchantOrderNo | string | YES | Merchant order number | 20210708220 |
sign | string | YES | Signature |
Response
name | type | required | desc | example |
---|---|---|---|---|
sign | string | YES | Signature | |
epayAccount | string | YES | Merchant Epay Account | test2020@epay.com |
version | string | YES | Version number | V2.0.0 |
code | integer | YES | Response code 1 : Success | 1 |
message | string | YES | Message info | success |
data | JSONObject | YES | ||
─category | string | YES | Bank, Cash, E-wallet | BANK |
─merchantOrderNo | string | YES | Merchant order number | te3ssd7383d334523t128a |
─epayOrderNo | string | YES | Epay order number | 211151598521901746507776 |
─pinCode | string | YES | Cash withdrawal code | |
─status | string | YES | Epay order status | 9 |
─amount | string | YES | Settlement amount | 10.00 |
─currency | string | YES | Settlement currency | USD |
─receiveAmount | string | YES | Received amount | 70.60 |
─receiveCurrency | string | YES | Received currency, refer to currencyType | CNY |
─paymentAmount | string | YES | Payment amount | 10.00 |
─paymentCurrency | string | YES | Payment currency,refer to currencyType | USD |
─rate | string | YES | Exchange rate | 0.141647 |
─fee | string | YES | Fees | 1.5 |
─extendFields | string | NO | Merchant extension field | null |
─rateMode | string | YES | Rate type 0:Payment currency to Received currency 1:Received currency to Payment currency | 1 |
─senderInfo | string | NO | SenderInfo | null |
─receiveInfo | string | NO | ReceiveInfo | null |
─orderDescription | string | NO | Order Description | null |
Parameter example
curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/queryTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"param": {
"epayAccount": "test2020@epay.com",
"version": "V2.0.0",
"merchantOrderNo": "20210708220"
},
"sign": "{{sign}}"
}'
RequestExample
curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/queryTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"param": {
"epayAccount": "test2020@epay.com",
"version": "V2.0.0",
"merchantOrderNo": "20210708220"
},
"sign": "{{sign}}"
}'
ResponseExample
{
"sign": "AE12D36EFEBB4A72AD2A2BDC5701AEE78884AD574A10C6A4221F23F4C78F42E6",
"epayAccount": "jing32@qq.com",
"version": "V2.0.0",
"code": 1,
"message": "success",
"data": {
"category": "BANK",
"merchantOrderNo": "te3ssd7383d334523t128a",
"epayOrderNo": "211151598521901746507776",
"pinCode": "",
"status": "9",
"amount": "10.00",
"currency": "USD",
"receiveAmount": "70.60",
"receiveCurrency": "CNY",
"paymentAmount": "10.00",
"paymentCurrency": "USD",
"rate": "0.141647",
"fee": "1.5",
"extendFields": null,
"rateMode": "1",
"senderInfo": null,
"receiveInfo": null,
"orderDescription": null
}
}