# Enhanced Currency Conversion Calculator API source: https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/index.md ## Overview {#overview} Issuers operating in the European Economic Area (EEA) must disclose, at the point of a cross-border card transaction, the mark-up between the exchange rate they apply and the reference rate published by the European Central Bank (ECB), as required by EU Regulation 2019/518. Calculating that mark-up requires two things at once for the same currency pair and date: the FX rate an issuer actually uses to bill a cardholder, and the ECB reference rate for the same pair --- sourced, normalized and returned together in a single call. The Enhanced Currency Conversion Calculator API is a subscription-based REST API that serves as a card transaction exchange-rate API for Mastercard issuers in the EEA. It provides access to Mastercard's daily and historical issuer currency conversion rates, togethr with the corresponding ECB reference rates. A single call to `GET /summary-rates`, for one currency pair and date, returns: * The Mastercard currency conversion rate. * The matching ECB reference rate. * The calculated percentage difference (markup) between the two, with and without your issuer fees. Supporting lookups return the currencies each rate source publishes and details whether a given day's rates have been issued. This enables issuers to retrieve Mastercard and ECB rates from one integration instead of maintaining separate rate feeds for disclosure purposes. Issuers still apply their own fee logic and determine the final amount billed to the cardholder. Note: The Enhanced Currency Conversion Calculator API provides rates and rate comparisons only. It does not execute foreign exchange, convert funds, or settle transactions. ## How It Works {#how-it-works} The API sits between an issuer's cardholder-facing platform (website, mobile app, or statement engine) and two rate sources: Mastercard's own daily FX rate publication, and the ECB's daily reference rate publication. A cardholder's transaction currency, billing currency, amount, rate date, and any issuer fees are the only inputs required --- the API returns the Mastercard rate, the matching ECB rate, and the calculated mark-up in one response. **Actors involved:** | Actor | Role | |---------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------| | Cardholder | Initiates or views a cross-border/cross-currency transaction and is the ultimate recipient of the FX disclosure. | | Issuer platform | Collects transaction details from the cardholder and calls the API server-side to retrieve conversion data. | | Enhanced Currency Conversion Calculator API | Looks up the Mastercard conversion rate for the requested currency pair and date, and sources the matching ECB reference rate. | | European Central Bank (ECB) | Publishes the daily euro foreign exchange reference rates used for the compliance comparison. | **Outcomes:** * `GET /summary-rates` (**Conversion-rate-summary** ) returns the Mastercard conversion rate, the calculated cardholder billing amount (with and without issuer fees), the ECB reference rate, and the percentage difference between the two --- the core data needed for the EU 2019/518 disclosure. See [Use Cases](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/use-cases/index.md) for the full request/response flow. * `GET /rate-statuses` (**Conversion-rate-issued**) confirms whether the current day's Mastercard and ECB rates have been published yet, so a caller can decide whether to use today's rates or fall back to the last published date. * `GET /mc-currencies` (**Mastercard-currencies** ) and `GET /ecb-currencies` (**ECB-currencies**) return the currencies each rate source supports, useful for populating currency selection lists. Diagram enhanced-currency-conversion-calculator-how-it-works ## Before You Start {#before-you-start} **Registration** : To access the production environment you need to be registered as a Mastercard issuing customer. As a Mastercard customer you will have what is called an Interbank Card Association (ICA) Number, a customer ICA that identifies your organization internally in Mastercard. If you are an existing Mastercard customer, but don't know your ICA, you can find it by logging into [Mastercard Connect](https://www.mastercardconnect.com/). **Regional Availability**: The API is available to Mastercard issuers in the European Economic Area (EEA). **Pricing**: Issuers will be charged a quarterly subscription fee of EUR 1,250 for access to and use of the Enhanced Currency Conversion Calculator API. Refer to AN 3493 available on Mastercard Connect \> Technical Resource Center for more information. ## Good to Know {#good-to-know} The Enhanced Currency Converter API provides the currency conversion rate from the transaction currency to cardholder billing currency. You will be required to provide the respective currencies for each currency conversion rate you wish to retrieve. To try this API quickly, use [API Reference](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/api-reference/index.md) to send requests directly from your browser to the Sandbox. You are not required to create a Mastercard Developers project and keys to try it out. The Enhanced Currency Conversion Calculator API uses OAuth 1.0a authentication. You set up the required keys when you create your Mastercard Developers project for this service. For more information about authentication and the keys, see [API Basics](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/api-basics/index.md). Mastercard recommends that you use a group email address when creating your project to ensure that team members can access the Mastercard Developers account used for testing and production. ## Next Steps {#next-steps} Now that you understand what the Enhanced Currency Converter API does, use the [Quick Start Guide](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/quick-start-guide/index.md) to begin onboarding. If you encounter errors while getting started, visit the [Support](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/support/index.md) page for FAQs and additional help. To learn more, refer to the following guides: | Category | Description | |---------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------| | [API Basics](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/api-basics/index.md) | Authentication, API environments and keys. | | [Use Cases](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/use-cases/index.md) | Common use cases and their implementations including high level and detailed sequence diagrams. | | [Tutorials \& Guides](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/tutorials-and-guides/index.md) | Tutorials \& Guides for easy integration. | | [API Reference](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/api-reference/index.md) | Try the Sandbox APIs directly from your browser. | | [Developer Tools](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/developer-tools/index.md) | Reference Application, Postman Collection, and Insomnia Collection to try the API. | | [Parameters](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/parameters/index.md) | Requests and responses for each endpoint. | | [Code and Formats](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/code-and-formats/index.md) | Error codes and the formats we use. | | [Support](https://developer.mastercard.com/enhanced-currency-conversion-calculator/documentation/support/index.md) | FAQs and support. |