Skip to main content

Payment detail

Payment detail

POST/pay/trade/query

Query the payment status of a single order.

Bodyapplication/x-www-form-urlencoded

pay_memberidstringrequiredsign

Merchant ID.

pay_orderidstringrequiredsign

Merchant order number.

transaction_idstring

Transaction order number.

pay_md5signstringrequired

Response

memberidstring

Merchant ID assigned by the platform.

orderidstring

Merchant order ID.

amountstring

Order amount submitted in the request.

true_amountstring

Actual amount paid by the customer.

time_endstring

Payment completion timestamp.

transaction_idstring

Platform transaction ID.

returncodestring

Result code. "00" indicates success.

trade_statestring

Order status: NOTPAY - unpaid; PENDING - processing; FAIL - failed; SUCCESS - paid; REFUND - refunded.