Merchant access token — use as accessToken in createSquareClient
When accessToken expires (30 days after issue). Refresh well before this.
Merchant the tokens belong to
Refresh token. For the code flow with a client secret this does not expire, and Square returns the same value on refresh.
OptionalrefreshOnly set when the refresh token itself expires (PKCE flow)
Always 'bearer'
Tokens returned by SquareOAuthClient.obtainToken and SquareOAuthClient.refreshToken.