Download Foreign Exchange Rates API Reference
The Foreign Exchange Rates API provides an easy access to the Visa’s currency conversion rate for a given currency pair.
This API returns Visa's conversion rates for a given currency pair.
FX response body
conversionRate required | string <= 14 characters \d{1,7}(\.\d{1,12})? This is the Conversion Rate. Note: The ConversionRate field excludes any markup. Example: "0.07" | ||||||||||
rateProductCode required | string indicates which rate source to be used like card based vs account based rates.
| ||||||||||
object | |||||||||||
| |||||||||||
destinationAmount | string [ 1 .. 13 ] characters \d{1,8}(\.\d{1,4})?|\d{1,9}(\.\d{1,3})?|\d{1,... Conditional. Example: "75.85" | ||||||||||
markupRateApplied | string [ 0 .. 6 ] characters \d{1,2}(\.\d{1,3})? The percentage FX mark up rate (<100) to be applied to the transaction. Example- A value of 0.07 will assume a 0.07% markup applies to the FX transaction. The default markup rates can also be optionally configured as part of onboarding process. If the markup value is not supplied in the FX inquiry API, and the Acquiring BIN is provided, the markup configured during onboarding will be picked up and applied to the transaction. Example: "0.07" | ||||||||||
sourceAmountWithoutMarkup | string [ 1 .. 13 ] characters \\d{1,8}(.\\d{1,4})?|\\d{1,9}(.\\d{1,3})?|\\d... Source Transaction Amount excluding markup in source currency. This field will be returned in a source-to-destination inquiry response when markup is applicable. Example: "75.85" |
Bad Request
required | object | ||||||||||
|
Forbidden
required | object | ||||||
|
Service Unavailable
required | object | ||||||
|
© Copyright Visa. All Rights Reserved.
NOTICE: The software and accompanying information and documentation (together, the “Software”) remain the property of and are proprietary to Visa and its suppliers and affiliates. The Software remains protected by intellectual property rights and may be covered by U.S. and foreign patents or patent applications. The Software is licensed and not sold.
By accessing the Software you are agreeing to Visa's terms of use (developer.visa.com/terms) and privacy policy (usa.visa.com/legal/global-privacy-notice.html). In addition, all permissible uses of the Software must be in support of Visa products, programs and services provided through the Visa Developer Program (VDP) platform only (developer.visa.com). THE SOFTWARE AND ANY ASSOCIATED INFORMATION OR DOCUMENTATION IS PROVIDED ON AN “AS IS,” “AS AVAILABLE,” “WITH ALL FAULTS” BASIS WITHOUT WARRANTY OR CONDITION OF ANY KIND. YOUR USE IS AT YOUR OWN RISK.
Sandbox server
{- "initiatingPartyId": 1002,
- "rateProductCode": "BANK",
- "destinationCurrencyCode": "USD",
- "sourceCurrencyCode": "EUR",
- "quoteIdRequired": true
}
{- "rateProductCode": "string",
- "destinationCurrencyCode": "string",
- "quoteIdExpiryDateTime": "string",
- "sourceCurrencyCode": "string",
- "conversionRate": "string",
- "quoteId": "string"
}