Retrieve access token
Retrieve an access token for an accountant, per OAuth 2.0 spec
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
The client_id of the OAuth 2.0 consumer
The client_id of the OAuth 2.0 consumer
The OAuth 2.0 grant_type. For refreshing an access_token, use 'refresh_token'. For exchanging an authorization code, use 'authorization_code'. And for obtaining an access_token with your userId, use 'client_credentials'
refresh_token, authorization_code, client_credentials The refresh_token of the OAuth 2.0 access_token; required if grant_type is 'refresh_token'
The authorization code, obtained by having the accountant login to the oauth 'authorize' website; required if grant_type is 'authorization_code'
Id of the accountant in your DB; required if grant_type is 'client_credentials'
Response
Successful operation
"00f6b2b68eb9459eab681d19aa86c6154e225068f3074d1d9b639316d5380a4c.91d620872c3b438ba33f4baaca124624"
"7369c0ee82194721ac6f633ec16206f348680736e80e4aacb85d4fbce0ee9669.56b43c61141541dc858dd8613959389a"
7776000
1599065168
"token"