Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.39 KB

renew-token-response.md

File metadata and controls

28 lines (21 loc) · 1.39 KB

Renew Token Response

Structure

RenewTokenResponse

Fields

Name Type Tags Description
AccessToken string Optional The renewed access token.
This value might be different from the access_token you provided in your request.
You provide this token in a header with every request to Connect API endpoints.
See Request and response headers for the format of this header.
TokenType string Optional This value is always bearer.
ExpiresAt string Optional The date when access_token expires, in ISO 8601 format.
MerchantId string Optional The ID of the authorizing merchant's business.
SubscriptionId string Optional LEGACY FIELD. The ID of the merchant subscription associated with
the authorization. Only present if the merchant signed up for a subscription
during authorization..
PlanId string Optional 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.

Example (as JSON)

{
  "access_token": "ACCESS_TOKEN",
  "token_type": "bearer",
  "expires_at": "2006-01-02T15:04:05Z",
  "merchant_id": "MERCHANT_ID"
}