Square API
You are viewing an old version of the API
OAuth
Square 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.
-
Authorize
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.
-
Revoke token
POST /oauth2/revoke - Revokes an access token generated with the OAuth flow.
-
Obtain token
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.
-
Retrieve token status
POST /oauth2/token/status - Returns information about an OAuth access token or an applications personal access token.
BETA