Square · Authentication Profile

Square Authentication

Authentication

Square secures its APIs with apiKey and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

RestaurantBookingsCatalogCheckoutCustomersDisputesEcommerceFinancial TechnologyGift CardsInventoryInvoicingLaborLocationsLoyaltyMerchantsOrdersPaymentsPoint of SaleRefundsRetailSubscriptionsTeamTerminalWebhooks
Methods: apiKey, oauth2 Schemes: 2 OAuth flows: authorizationCode API key in: header

Security Schemes

oauth2 oauth2
· flows: authorizationCode
oauth2ClientSecret apiKey
· in: header (Authorization)

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/square-openapi.yml
summary:
  types:
  - apiKey
  - oauth2
  api_key_in:
  - header
  oauth2_flows:
  - authorizationCode
schemes:
- name: oauth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://connect.squareup.com/oauth2/authorize
    tokenUrl: https://connect.squareup.com/oauth2/token
    scopes: 57
  sources:
  - openapi/square-openapi.yml
- name: oauth2ClientSecret
  type: apiKey
  in: header
  parameter: Authorization
  sources:
  - openapi/square-openapi.yml