ObtainTokenResponse

April 22, 2020 ยท View on GitHub

Description

Properties

NameGetterSetterTypeDescriptionNotes
access_tokengetAccessToken()setAccessToken($value)stringA 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_typegetTokenType()setTokenType($value)stringThis value is always bearer.[optional]
expires_atgetExpiresAt()setExpiresAt($value)stringThe date when access_token expires, in ISO 8601 format.[optional]
merchant_idgetMerchantId()setMerchantId($value)stringThe ID of the authorizing merchant's business.[optional]
subscription_idgetSubscriptionId()setSubscriptionId($value)stringLEGACY 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_idgetPlanId()setPlanId($value)stringT__LEGACY 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_tokengetIdToken()setIdToken($value)stringThen OpenID token belonging to this this person. Only present if the OPENID scope is included in the authorize request.[optional]
refresh_tokengetRefreshToken()setRefreshToken($value)stringA refresh token. OAuth refresh tokens are 64 bytes long. For more information, see OAuth access token management.[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]