post
https://api.staging.bancocdc.com.br/partner/auth
Route to authenticate a user
How to get the credentials?
Contact the CDC team to get a credential made, after approval of the registration, you will be supplied with a unique
client_keyandclient_secretfor testing.
Using the authentication token
The authentication token expires after 60 minutes. Each token is of type Bearer. To authenticate your API requests, include the token in the Authorization header as follows:
Authorization: Bearer {YourToken}Replace
{YourToken}with the actual token value (excluding the curly braces).
Response Parameters
| Parameters | Format | Description |
|---|---|---|
| return | Boolean | Response status (true/false) |
| message | String | Response message |
| token | String | Token to access the service |
| token_type | String | Token type to access the service |
| expires_in | Number | Token expires in |