You are viewing an old version of the API
Allow your application to gain programmatic access to other merchant accounts
The Square OAuth API lets applications request and obtain permission from a Square account to make API calls on behalf of that account. Applications can request individual permissions so that users do not need to grant full access to their Square accounts
GET /oauth2/authorize - Presents a Permission Request form that returns an access code to be exchanged during the OAuth flow for a valid OAuth access token.
POST /oauth2/revoke - Revokes an access token generated with the OAuth flow.
POST /oauth2/token - Returns an OAuth access token.