Tradução não oficial, feita pelo Open Finance Guide a partir da especificação em inglês publicada pela STET. A STET não a revisou nem aprovou, e somente o texto original é o de referência.
6.2. Encaminhamento do consentimento
6.2.1.1. Requisição
PUT http://localhost:18080/v1/consents6.2.1.2. Cabeçalhos
content-length: 4376.2.1.3. Corpo
{
"owners": [
{
"other": {
"identification": "account_rsc1",
"schemeName": "BANK",
"issuer": "BNKAFRPPXXX"
}
}
],
"balances": [
{
"other": {
"identification": "account_rsc1",
"schemeName": "BANK",
"issuer": "BNKAFRPPXXX"
}
},
{
"other": {
"identification": "account_rsc2",
"schemeName": "BANK",
"issuer": "BNKAFRPPXXX"
}
}
],
"transactions": [
{
"other": {
"identification": "account_rsc1",
"schemeName": "BANK",
"issuer": "BNKAFRPPXXX"
}
}
],
"trustedBeneficiaries": true,
"psuIdentity": true
}6.2.2. Resposta
Código de status: 201
6.2.2.1. Cabeçalhos
X-Request-Id: 4313840f-017a-4434-8057-5d4512b1fdec
Keep-Alive: timeout=60
Connection: keep-alive