{
  "opencollection": "1.0.0",
  "info": {
    "name": "Square ApplePay MobileAuthorization API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "MobileAuthorization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Square Create Mobile Authorization Code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.squareup.com/mobile/authorization-code",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://connect.squareup.com/oauth2/authorize",
              "accessTokenUrl": "https://connect.squareup.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Generates code to authorize a mobile application to connect to a Square card reader.\n\nAuthorization codes are one-time-use codes and expire 60 minutes after being issued.\n\n__Important:__ The `Authorization` header you provide to this endpoint must have the following format:\n\n```\nAuthorization: Bearer ACCESS_TOKEN\n```\n\nReplace `ACCESS_TOKEN` with a\n[valid production authorization credential](https://developer.squareup.com/docs/build-basics/access-tokens)."
        }
      ]
    }
  ],
  "bundled": true
}