{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard ATM Locations",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Countries",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Get a List of Countries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mastercard.com/locations/atms/countries"
          },
          "docs": "Returns a list of countries containing ATMs"
        },
        {
          "info": {
            "name": "Mastercard Get a List of Country Subdivisions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mastercard.com/locations/atms/country-subdivisions",
            "params": [
              {
                "name": "country_code",
                "value": "USA",
                "type": "query",
                "description": "Three digit alpha country code as defined in ISO 3166-1"
              }
            ]
          },
          "docs": "Returns a list of country subdivisions for a given country"
        }
      ]
    },
    {
      "info": {
        "name": "Searches",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Get a List of Atm Details",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mastercard.com/locations/atms/searches",
            "params": [
              {
                "name": "limit",
                "value": "25",
                "type": "query",
                "description": "The number of items to be retrieved"
              },
              {
                "name": "offset",
                "value": "1",
                "type": "query",
                "description": "The page offset used for the query"
              },
              {
                "name": "distance",
                "value": "5",
                "type": "query",
                "description": "Distance measurement for calculating the radius search. Optional The length of distance from the centroid point. Value string(<25). The default will be 5 units"
              },
              {
                "name": "distance_unit",
                "value": "MILE",
                "type": "query",
                "description": "Unit of measurement for calculating the radius search. Optional. Measurement of distance unit in miles or kilometers. Value string (MILE or KM)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns detailed information on ATMs based on the provided query parameters"
        }
      ]
    }
  ],
  "bundled": true
}