Skip to content

Square: Oauth schemas

1 Square schema with complete fields and constraints.

← Oauth operations · All schemas

Retrieve Token Status — response body

FieldTypePresenceDescription and constraints
$objectRootDefines the fields that are included in the response body of
a request to the `RetrieveTokenStatus` endpoint.
client_idstringOptionalThe Square-issued application ID associated with the access token. This is the same application ID used to obtain the token.
Maximum length: 191
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
expires_atstringOptionalThe date and time when the `access_token` expires, in RFC 3339 format. Empty if the token never expires.
merchant_idstringOptionalThe ID of the authorizing merchant's business.
Maximum length: 191
Minimum length: 8
scopesarrayOptionalThe list of scopes associated with an access token.
scopes[]stringEach item

Referenced models: Get Shift — response body — errors item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.