Auth - Token Generate
POST {{url_contbank}}/partner-login/token
Json Body
key | value |
---|---|
client_id | string/required |
client_secret | string/required |
Request Body
{"client_id"=>"PARTNER_CLIENT_ID_REQUIRED", "client_secret"=>"PARTNER_CLIENT_SECRET_ID_REQUIRED"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Partner-Id | string | Obrigatório apenas quando as credenciais são de Parceiro Agente de Negócio |
RESPONSES
status: OK
{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InVKVjAxMFZsbVpyeE5RelZRVEVYQSJ9","expires_in":86400,"token_type":"Bearer"}