Mastercard Currencyconversioncalculator
Mastercard Currency Conversion Calculator is an API that provides Mastercard exchange-rate calculations for converting transaction amounts between currencies.
- Base URL:
https://api.mastercard.com/mcapi/settlement/currencyrate - Auth:
bearer(pass your key via theapiKeyinput)
Operations
getconversiondetailusingget— GET /conversion-rate — Get the currency conversion rate details.israteissuedusingget— GET /conversion-rate-issued — Determine if the settlement rate has been issued.getcurrencyratedatausingget— GET /settlement-currencies — getCurrencyRateData
Inputs
apiKey— your mastercard-currencyconversioncalculator API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getconversiondetailusingget
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: getconversiondetailusingget, israteissuedusingget, getcurrencyratedatausingget |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |