Skip to main content

Query


You can query information about consumption transactions and refund transactions.

Info

{domain}/Servlet/QRcodeTradeQuery.do

https://vmp.eftpay.com.cn/VMP/Servlet/QRcodeTradeQuery.do

NameTypeDescriptionRequirement
querytypeString(30)Query type, fixed: OUT_TRADE
eft_trade_noString(28)eftPay trade number
eft_trade_no or out_trade_no
out_trade_noString(28)Merchant order number
out_trade_no or eft_trade_no
refund_noString(28)Merchant refund number, used for querying refund
user_confirm_keyString(12)User Key provided by eftPay
timeStringTime, format: yyyyMMddHHmmss
signString(64)Signature

Tips

  • Priority: eft_trade_no > out_trade_no
  • If refund_no is not filled or is "", it returns order information based on out_trade_no, i.e., trade_status represents the status of consumption orders. Otherwise, it returns refund information based on refund_no, i.e., trade_status represents the status of refund orders.

NameTypeDescriptionRequirement
return_statusString(3)Return status code, represents . Note: This parameter cannot be used as a judgment of whether the transaction status is successful
Other status codes see Appendix 3
return_charString(100)Return description, may change, can not be used as a condition judgment
Return when return_status > 00
timeStringTime, format: yyyyMMddHHmmss
return_status >= 00 return
signString(64)Signature
return_status >= 00 return

NameTypeDescriptionRequirement
out_trade_noString(28)Merchant order number
refund_noString(28)Merchant refund number, returned when querying refund
eft_trade_noString(28)eftPay order number
trade_statusString(32)Transaction status, see Appendix 2
user_confirm_keyString(12)User Key, provided by eftPay
trade_typeString(10)Order type, see Appendix 4
buyer_idString(30)User ID
tidString(20)Terminal number, returned when consumption request is sent
transaction_idString(64)Payment provider number
payment_typeString(8)Wallet type
trade_timeStringTransaction time, format: yyyy-MM-dd HH:mm:ss
transaction_amountString(8)Transaction amount.
When querying consumption, it is the consumption amount; when querying refund, it is the refund amount
currencyString(10)Currency
original_amountString(8)Original transaction amount, returned when querying refund
card_schemeString(8)Card type, returned by Mpgs/AE/NUVEI transaction configuration. Such as: VISA/MASTERCARD
card_numberString(8)Card number, returned by Mpgs/AE/NUVEI transaction configuration
actual_total_feeString(8)Actual payment amount, returned by configuration
actual_total_fee_typeString(8)Actual payment currency, returned by configuration. Such as: HKD/CNY

{
	"user_confirm_key": "12345678",
	"out_trade_no": "201908241040035",
	"sign": "24db1adc94b18a416796695a3062398bf3908bff7647da4948b769bf118dff87",
	"time": "20190824104052",
	"querytype": "OUT_TRADE"
}

{
	"transaction_id": "2019082422001486450540740143",
	"user_confirm_key": "12345678",
	"trade_time": "2019-08-24 10:41:25",
	"return_char": "",
	"transaction_amount": "0.02",
	"sign": "6077b275107676aac219cb38d7970a8f3de607f47d6baa6320f337a4ca1358e2",
	"eft_trade_no": "08520005269190824104101935",
	"buyer_id": "2088012867786450",
	"tid": "tid123",
	"payment_type": "ALIPAYCN",
	"out_trade_no": "201908241040035",
	"rate": "",
	"trade_status": "TRADE_SUCCESS",
	"return_status": "00",
	"trade_type": "SALE",
	"currency": "HKD",
	"time": "20190824104135"
}