{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mangopay REST Bank Accounts Country authorizations API",
    "version": "2.01"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.mangopay.com/v2.01/{clientId}/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Country authorizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "View Authorizations for a country",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mangopay.com/v2.01/{clientId}:envurl/v2.01/countries/:{$randomCountryCode}/authorizations",
            "params": [
              {
                "name": "envurl",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "[https://mangopay.com/docs/endpoints/country-authorizations#view-authorizations-country](https://mangopay.com/docs/endpoints/country-authorizations#view-authorizations-country)"
        },
        {
          "info": {
            "name": "List Authorizations for all countries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mangopay.com/v2.01/{clientId}:envurl/v2.01/countries/authorizations",
            "params": [
              {
                "name": "envurl",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "[https://mangopay.com/docs/endpoints/country-authorizations#list-authorizations-countries](https://mangopay.com/docs/endpoints/country-authorizations#list-authorizations-countries)"
        }
      ]
    }
  ],
  "bundled": true
}