{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Rates API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Rates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getEnhancedConversionDetails",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/summary-rates",
            "params": [
              {
                "name": "rate_date",
                "value": "2023-02-27",
                "type": "query",
                "description": "Date of the requested FX rates"
              },
              {
                "name": "trans_curr",
                "value": "GBP",
                "type": "query",
                "description": "Currency of the transaction"
              },
              {
                "name": "trans_amt",
                "value": "100",
                "type": "query",
                "description": "Amount in the transaction currency"
              },
              {
                "name": "crdhld_bill_curr",
                "value": "EUR",
                "type": "query",
                "description": "Cardholder billing currency"
              },
              {
                "name": "bank_fee_pct",
                "value": "1.6754",
                "type": "query",
                "description": "Percentage mark-up/fee (if applicable) an issuer would assess a cardholder on the cross-border/cross-currency transaction"
              },
              {
                "name": "bank_fee_fixed",
                "value": "0.5",
                "type": "query",
                "description": "Fixed mark-up/fee (if applicable) an issuer would assess a cardholder on the cross-border/cross-currency transaction (amount in cardholder billing currency)"
              }
            ]
          },
          "docs": "Provides Mastercard currency conversion rate, calculated cardholder billing amount, the ECB reference rate and the calculated percentage difference between Mastercard and ECB rate for the provided currency pair."
        },
        {
          "info": {
            "name": "isEcbMcRateIssued",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/rate-statuses",
            "params": [
              {
                "name": "request_date",
                "value": "2023-02-27",
                "type": "query",
                "description": "Rate issued date (YYYY-mm-dd)"
              }
            ]
          },
          "docs": "Helps determine if the present days Mastercard and ECB conversion rates are available. Refer the Support section for more information on the Mastercard and ECB rate publication schedule."
        },
        {
          "info": {
            "name": "Mastercard Get the Currency Conversion Rate Details.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/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": "{{baseUrl}}/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."
        }
      ]
    }
  ],
  "bundled": true
}