{
  "opencollection": "1.0.0",
  "info": {
    "name": "Core Capabilities API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/core/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Capabilities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List capabilities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.enterprise.sandbox.uphold.com/core/capabilities",
            "headers": [
              {
                "name": "X-On-Behalf-Of",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Ip",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Agent",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Origin",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Country",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Subdivision",
                "value": ""
              },
              {
                "name": "X-Uphold-User-City",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/core/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List user capabilities."
        },
        {
          "info": {
            "name": "Get capability",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.enterprise.sandbox.uphold.com/core/capabilities/:capability",
            "headers": [
              {
                "name": "X-On-Behalf-Of",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Ip",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Agent",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Origin",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Country",
                "value": ""
              },
              {
                "name": "X-Uphold-User-Subdivision",
                "value": ""
              },
              {
                "name": "X-Uphold-User-City",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "capability",
                "value": "",
                "type": "path",
                "description": "The capability code."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/core/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a user capability by code."
        }
      ]
    }
  ],
  "bundled": true
}