Query Interface

Description

This interface is used for merchants to inquire remittance status, and can be used for replenishing orders.

Request Endpoint

https://apis.5upay.com/transfer/query

Name Type & Max Description Requirement
merchantId varchar(9) The unique identity of the merchant ID in Payease system. After the merchant completes Payease system registration, the merchant can log in the merchant background to check M
requestId varchar(50) The requestId is an ID generated by the merchant. This ID is unique for each merchant and can be used for ensuring the uniqueness of the request;For paid or cancelled orders in the PayEase payment system, the merchant side cannot submit them again. M
hmac varchar(500) The result of parameter signature,generated by the merchant.For the method of obtaining hmac, please refer to the section "Developers" M

Sample

{ "merchantId": "120141994", "requestId": "1493799454674", "hmac": null }

>Synchronous Returned Field

Name Description
merchantId Merchant ID
requestId The requestId is an ID generated by the merchant. This ID is unique for each merchant and can be used for ensuring the uniqueness of the request;For paid or cancelled orders in the PayEase payment system, the merchant side cannot submit them again.
serialNumber PayEase system transaction serial number
currency CNY, USD, JPY, EUR, CHF, GBP, CAD, AUD, HKD
amount UNIT: China fen,1 Yuan=100 Fen
status SUCCESS
CANCEL
completeDataTime Remittance completion time
foexignExchangeResponse Please refer to the table "Response field(foexignExchangeResponse,Return parameter of foreign exchange purchase)"
hmac The result of parameter signature,generated by the merchant.For the method of obtaining hmac, please refer to the section "Developers"

Response field(foexignExchangeResponse,Return parameter of foreign exchange purchase)

Name Description
amount UNIT: Cent,for CNY: 1 Yuan=100 Fen
currency CNY, USD, JPY, EUR, CHF, GBP, CAD, AUD, HKD
status SUCCESS
CANCEL
listprice list price
deductionAmount The amount of CNY deducted from foreign exchange purchases
completeDataTime Completion Time

Sample

{ "merchantId": "120141994", "requestId": "1493799454674", "serialNumber": "2ae9fe97b3fb4f5ab85effb7ba4461ca", "currency": "CNY", "amount": "70", "completeDateTime": "2018-05-04 14:11:23", "foexignExchangeResponse": { "amount": 10, "currency": "USD", "status": "INIT", "deductionAmount": 65, "completeDataTime": "2018-05-05 10:56:32" }, "status": "SUCCESS", "hmac": "7d4db4d001dbb429780c0e8360be5872" }