• Sign In
  • Sign In
  • Home

  • Payments

  • Terminal

  • Orders

  • Subscriptions

  • Invoices

  • Catalog

  • Inventory

  • Customers

  • Loyalty

  • Gift Cards

  • Bookings

  • Business

  • Team

  • Financials

  • Online

  • Auth

    • OAuth

    • Mobile Authorization

  • Webhook Subscriptions

  • Objects & Enums

  • Webhook Events

  • Deprecated

  • SDKs

<- Square API

Square API

OAuth

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.

  • Endpoints

  • Webhooks

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.

Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Contact support
  • Developer blog
  • Slack community
  • YouTube
  • Twitter
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2023 Square, Inc.

  • Developer terms of service
  • Privacy policy