SquareConnect::ObtainTokenResponse

June 12, 2019 ยท View on GitHub

Description

Properties

NameTypeDescriptionNotes
access_tokenStringA valid OAuth access token. OAuth access tokens are 64 bytes long. Provide the access token in a header with every request to Connect API endpoints. See the Build with OAuth guide for more information.[optional]
token_typeStringThis value is always bearer.[optional]
expires_atStringThe date when access_token expires, in ISO 8601 format.[optional]
merchant_idStringThe ID of the authorizing merchant's business.[optional]
subscription_idStringLEGACY FIELD. The ID of a subscription plan the merchant signed up for. Only present if the merchant signed up for a subscription during authorization.[optional]
plan_idStringLEGACY FIELD. The ID of the subscription plan the merchant signed up for. Only present if the merchant signed up for a subscription during authorization.[optional]
id_tokenStringThen OpenID token belonging to this this person. Only present if the OPENID scope is included in the authorize request.[optional]
refresh_tokenStringA refresh token. For more information, see OAuth access token management.[optional]