---
title: "6.2. Encaminhamento do consentimento"
canonical: "https://openfinanceguide.com/pt-br/stet/1.6.3/flows/6-2-consent-forwarding"
edition: "STET PSD2 API 1.6.3.1"
part: "STET PSD2 API — Part 3: Interaction Examples"
section: "6.2"
pdf: "https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf"
pdf_pages: "7-8"
language: "pt-br"
translation: "Unofficial translation by Open Finance Guide. Only the English text published by STET is authoritative."
normative: "The normative text is the English PDF published by STET. This Markdown reproduces it for reading; where they differ, the PDF prevails."
license: "CC BY 3.0 FR (https://creativecommons.org/licenses/by/3.0/fr/), STET. Converted to Markdown by Open Finance Guide."
---

# 6.2. Encaminhamento do consentimento
[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

### 6.2.1.1. Requisição

[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

```http
PUT http://localhost:18080/v1/consents
```

### 6.2.1.2. Cabeçalhos

[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

```http
content-length: 437
```

### 6.2.1.3. Corpo

[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

```json
{
  "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

[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

Código de status: 201

### 6.2.2.1. Cabeçalhos

[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

```http
X-Request-Id: 4313840f-017a-4434-8057-5d4512b1fdec
Keep-Alive: timeout=60
Connection: keep-alive
```

## 6.2.3. Corpo

[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

## 6.2.4. Sem dados de corpo
[p. 7](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=7)

[p. 8](https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-3-interaction-examples.pdf#page=8)
