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