List Price 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/quotation/quote

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
sellCurrency varchar(3) E.g., USD M
sellAmount varchar(18) Only one of this parameter or the buy Amount parameter must be passed. M
buyCurrency varchar(3) E.g., CNY M
buyAmount varchar(18) Only one of this parameter or the Sell Amount parameter must be passed. 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", "requestId": "1760420288931", "partnerId": "", "sellCurrency": "USD", "sellAmount": "3209", "buyCurrency": "CNY", "buyAmount": "", "hmac": "rEJCCvWDfG+......xHkWiwKg==" }

Response Parameter Fields

Name Description
merchantId The same as the request parameter
partnerId The same as the request parameter
requestId The same as the request parameter
sellCurrency The same as the request parameter
sellAmount Sell Amount
buyCurrency The same as the request parameter
buyAmount Buy Amount
token Quotation Token
rate Merchant Rate
rateValidTime E.g., 2025-10-20 00:00:00
status SUCCESS
FAILED
ERROR
errorMessage Request status information
errorCode Error Code
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": "G90008001", "partnerId": "", "requestId": "1760420288931", "sellAmount": "3209", "sellCurrency": "USD", "buyCurrency": "CNY", "buyAmount": "21413", "rate": "6.6729253500", "token": "37a823c4ad3d496e8be55c82a8c81941", "rateValidTime": "2025-10-14 09:24:05", "status": "SUCCESS", "hmac": "YlGCWbeZXfQKfHH......uTbA==" }