{
  "opencollection": "1.0.0",
  "info": {
    "name": "Chime Partner Authentication OAuth API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "OAuth",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Initiate OAuth 2.0 Authorization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chimebank.com/chime/v1/oauth/authorize",
            "params": [
              {
                "name": "response_type",
                "value": "",
                "type": "query",
                "description": "Must be \"code\" for Authorization Code Flow"
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query",
                "description": "Your application's client identifier"
              },
              {
                "name": "redirect_uri",
                "value": "",
                "type": "query",
                "description": "URI to redirect to after authorization"
              },
              {
                "name": "scope",
                "value": "",
                "type": "query",
                "description": "Space-separated list of requested scopes"
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "Opaque value to maintain state between request and callback"
              },
              {
                "name": "code_challenge",
                "value": "",
                "type": "query",
                "description": "PKCE code challenge (Base64-URL-encoded SHA-256 hash of the code verifier)"
              },
              {
                "name": "code_challenge_method",
                "value": "",
                "type": "query",
                "description": "Method used to generate the code challenge"
              }
            ]
          },
          "docs": "Initiates the OAuth 2.0 Authorization Code Flow with optional PKCE support. Redirects the user to the Chime authorization page.\n"
        },
        {
          "info": {
            "name": "Exchange authorization code for tokens",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.chimebank.com/chime/v1/oauth/tokens",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Exchange an authorization code for an access token and refresh token, or refresh an existing access token using a refresh token.\n"
        }
      ]
    }
  ],
  "bundled": true
}