v1
latestOpenAPI 3.0.22026-07-26123510445.2 KBList Current Rates
Retrieve the latest exchange rates for one or more specified currency pairs. The returned rates reflect the actual conversion rates applied by UQPAY.
Usage Guidelines
-
If currency_pairs is not provided, exchange rates for all available currency pairs will be returned.
-
If the request includes unsupported currency pairs, they will be listed in the unavailable_currency_pairs field of the response.
Query parameters
A comma-separated string of currency pairs to query. Each pair must be a 6-letter uppercase code (e.g., USDEUR, USDJPY). Multiple pairs can be provided, separated by commas, up to a maximum of 100 pairs.
Headers
Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.
Response
OK - Successfully retrieved a list of current rates.
Example response
{
"data": {
"rates": [
{
"buy_price": "0.8766",
"sell_price": "0.8837",
"currency_pair": "USDEUR"
}
],
"unavailable_currency_pairs": [
"JPYKRW"
]
}
}