https://console.iugu.com/token
OAuth2 token endpoint
Exchanges an authorization grant for an access token. Supports the authorization_code, client_credentials and refresh_token grant types. Clients authenticate with HTTP Basic or by sending client_id and client_secret in the body. PKCE is supported via code_verifier.
Sem ações implementadas definidas
Request
|
Body Required Content Type: application/x-www-form-urlencoded |
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||
1
{}
Response
|
200 |
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Success
|
||||||||||||
1
2
3
4
5
6
7
8
{
"access_token": "<ACCESS_TOKEN>",
"id_token": "<ID_TOKEN>",
"refresh_token": "<REFRESH_TOKEN>",
"token_type": "Bearer",
"expires_in": 300,
"scope": "informations"
}
|
400 |
||||
|---|---|---|---|---|
|
Bad Request
|
||||
1
2
3
4
{
"error_type": "invalid_client",
"error_description": "The client is unregistered or could not be authenticated"
}
|
401 |
||||
|---|---|---|---|---|
|
Unauthorized
|
||||
1
2
3
4
{
"error_type": "invalid_client",
"error_description": "The client is unregistered or could not be authenticated"
}