FX Order Query Interface

Description

Merchants send quotation requests to the specified Geoswift URL and receive the returned result data.

Request Endpoint

https://apis.geoswift.com/fx/order/query

Name Type& Max Description Requirement
merchantId varchar(9) The unique identity of the merchant in Geoswift system. Merchant can log in the merchant operation and management system to check M
partnerId varchar(9) the secondary merchant's superior service provider merchant in the Geoswift system (can be omitted if the initiating merchant is the main merchant) C
requestId varchar(50) number is generated by the merchant and must be unique on the merchant's own platform. Orders that are successful or canceled in the Geoswift system cannot be submitted again with the same order number. M
hmac varchar(500) 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

Sample

{ "merchantId": "G90008001", "partnerId": "", "requestId": "17604208083341", "hmac": "ZtBdC7ZedArjgTION......W3/Xqj/RQf9vPFKE6Q==" }

Response Parameter Fields

Name Description
merchantId Same as the request parameter
partnerId Same as the request parameter
requestId Same as the request parameter
serialNumber Serial number in Geoswift system
currencyPair Currency Pair
sellCurrency Same as the request parameter
sellAmount Sell Amount
buyCurrency Same as the request parameter
buyAmount Buy Amount
direction SELL
BUY
transactionCurrency Transaction Currency
rate Exchange Rate
createDateTime Creation time, format: yyyy-mm-dd hh:mm:ss, E.g., 2025-10-14 09:24:00
completeDateTime Completion time, format: yyyy-mm-dd hh:mm:ss, E.g., 2025-10-14 09:24:00
status SUCCESS
FAILED
orderStatus SUCCESS
UNSETTLE
FAIL
PROCESS
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"

示例

{ "merchantId": "G90008001", "partnerId": "", "requestId": "17604208083341", "serialNumber": "37a823c4ad3d496e8be55c82a8c81941", "currencyPair": "USDCNY", "sellCurrency": "USD", "sellAmount": "3209", "buyCurrency": "CNY", "buyAmount": "21413", "direction": "SELL", "transactionCurrency": "USD", "rate": "6.6729253500", "status": "SUCCESS", "orderStatus": "SUCCESS", "createDateTime": "2025-10-14 09:24:00", "completeDateTime": "2025-10-14 09:24:00", "hmac": "DFEXPU8SIw......C1L5g==" }