OAuth
OAuth Token Exchange
Exchange authorization code for access token or refresh an access token. Accepts application/json or application/x-www-form-urlencoded.
post/oauth/token
Response
Token exchange successful
Example response
{
"access_token": "mid_access_token_abcdef123456789",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "mid_refresh_token_abcdef123456789",
"scope": "transactions.read invoices.read"
}