{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Standard Currency Conversion Calculator",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Conversions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Get the Currency Conversion Rate Details.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.mastercard.com/settlement/currencyrate/conversion-rate",
            "params": [
              {
                "name": "fxDate",
                "value": "2023-02-27",
                "type": "query",
                "description": "Date of the requested FX rates."
              },
              {
                "name": "transCurr",
                "value": "ALL",
                "type": "query",
                "description": "Currency of the transaction."
              },
              {
                "name": "crdhldBillCurr",
                "value": "DZD",
                "type": "query",
                "description": "Cardholder billing currency."
              },
              {
                "name": "bankFee",
                "value": "5",
                "type": "query",
                "description": "Additional fees imposed by the bank."
              },
              {
                "name": "transAmt",
                "value": "23",
                "type": "query",
                "description": "Amount in the transaction currency."
              }
            ]
          },
          "docs": "Provides transaction details including date, transaction currency and amount, cardholder billing currency and issuer specific mark up to determine the applicable currency conversion rate and cardholder billing amount."
        },
        {
          "info": {
            "name": "Mastercard Determine if the Settlement Rate Has Been Issued.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.mastercard.com/settlement/currencyrate/conversion-rate-issued",
            "params": [
              {
                "name": "date",
                "value": "2023-02-27",
                "type": "query",
                "description": "The date by which the rate would have been issued."
              }
            ]
          },
          "docs": "Provides status update if the present day Mastercard currency conversion rates are issued. Mastercard rates are published daily and effective for 24 hours."
        }
      ]
    },
    {
      "info": {
        "name": "Currencies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Getcurrencyratedata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.mastercard.com/settlement/currencyrate/settlement-currencies"
          },
          "docs": "Provides a list of currencies for which Mastercard publishes currency conversion rates."
        }
      ]
    }
  ],
  "bundled": true
}