List Price Interface

Description

Merchants make pricing queries through this interface and receive the results returned by PayEase

Request Endpoint

https://apis.5upay.com/listprice/obtain

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
sourceCurrency varchar(3) CNY, USD, JPY, EUR, CHF, GBP, CAD, AUD, HKD M
targetCurrency varchar(3) Currently CNY is supported M
channel Fixed value Default value is empty O
dealtSide Fixed value BUY (Bank's price of purchasing spot exchange) M
SELL (Bank's price of selling spot exchange)
hmac - The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to "Geoswift encryption and decryption process specification" M

The above parameter values cannot contain the following special characters:

’”&<>()

Sample

{ "merchantId":"896667346", "requestId":"1622441006184", "sourceCurrency":"USD", "targetCurrency":"CNY", "channel":"", "dealtSide":"SELL", "hmac":"G8Qv/r+KOhPWwHQJhJwEjNgIl5VFRYfBO5+Lg82Wr8fIA3//QfZMCdvtGJDm UXKC8lneekR3VFrb+2w5t2UNLaHGldVo9muxYe3kbUrCFtCgsVB1BsypO9tuqbVAKOtdy BjZJCJXbCouQ2tdYAES19vqZ2ZGRG2Os3tpsJUfnZUUdGYX1mQCLqQy2a02IrDmGxf gHbG/h1137og94pdGowBe8oiyDvqOSddy8KQ+4z4CailfrxjBfz3uSGOZdiUDkiSMIhYnb9f m7uqJKw8+fmvPQY9v9/GbFbccKE8efXaFJQzhfyKo5GCin0csvohH7IHIC5JR0rbhlwPtN dyh+g==" }

Synchronous Returned Field

Name Description
merchantId 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
sourceCurrency CNY, USD, JPY, EUR, CHF, GBP, CAD, AUD, HKD
targetCurrency CNY, USD, JPY, EUR, CHF, GBP, CAD, AUD, HKD
listprice E.g. exchange CNY for USD, then "listprice":622.190000", which means merchant can change 622.19 CNY for 100 USD
listpriceDateTime E.g. 2020-08-05 00:00:00
tradeUnit The trade unit
status SUCCESS
FAILED
ERROR
resMessage Request status message
hmac The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to "Geoswift encryption and decryption process specification"

Sample

{ "merchantId":"896667346", "sourceCurrency":"USD", "targetCurrency":"CNY", "listprice":695.380000, "listpriceDateTime":"2018-11-22 18:08:15", "tradeUnit":100, "status":"SUCCESS", "resMessage":"SUCCESS", "hmac":"Y5bsFhAMdfmzZf4qzU2oonINLjkBTxKSzJWdaN4QjyRtz0WMGhlpWh7mtpU/ 9djqmgQQrn6tkP5vONx/6XsGbPl6Ifrs4ggUMJD2s68o724fJevqWK+OGPnZl6kFziI84cn3 Qt5tnzBz1SKkFUxoDLKcyg6TUckAbtiJcYsrFRLfPe1Ngph7Va7dQ0Ugs9KLq0u3mLQTL gJuQWAGGU2oIiHrDGcF1/crZ+TKidRlmpL9UXBLTD1eaplfgIKJ82ai3Uo1FN/STVDNcB TMSr8JnWHFMGR1+HsCbI6LZ5cxQuyh0RtWBbypEFk3ftZC4TWxh4fKiPzwGCarvmxcn 5n07w==" }