v1
latestOpenAPI 3.0.12026-07-245303882.5 MBConsentimento
Pedido de consentimento de dados
Cria novo pedido de consentimento
post/baas/v1/open/dat/consents
Request body
Example request
{
"data": {
"loggedUser": {
"document": {
"identification": "12345678909",
"rel": "CPF"
}
},
"permissions": [
"ACCOUNTS_READ",
"ACCOUNTS_OVERDRAFT_LIMITS_READ",
"ACCOUNTS_BALANCES_READ",
"ACCOUNTS_TRANSACTIONS_READ",
"RESOURCES_READ"
],
"expirationDateTime": "2026-01-31T23:59:59Z"
},
"brandId": "3a40d894-f3c2-47e3-97c2-d9a04cdac63c"
}Response
Consentimento criado com sucesso
Example response
{
"authorizationUrl": "https://api-openfinance.opb.bricks.demo.fsapps.io/orgs/bricks/auth?client_id=hash-client&request_uri=hash-request-uri",
"id": "rQJLYX7GGP0s2VIvLL1oJhEUWjEF-QzOCnCwsTzH2xQ"
}