You are viewing an old version of the API
Allow your application to gain programmatic access to other seller 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 - As part of a URL sent to a seller to authorize permissions for the developer, Authorize displays an authorization page and a list of requested permissions.
POST /oauth2/revoke - Revokes an access token generated with the OAuth flow.
POST /oauth2/token - Returns an OAuth access token and a refresh token unless the short_lived parameter is set to true, in which case the endpoint returns only an access token.