Skip to main content
POST
/
embedded-banking
/
v1
/
disclosures
/
accept
Accept bank disclosures for the authenticated user.
curl --request POST \
  --url https://api.sandbox.tesouro.com/embedded-banking/v1/disclosures/accept \
  --header 'Authorization: Bearer <token>'
{
  "acceptedAt": "2023-11-07T05:31:56Z",
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Disclosures accepted successfully.

Response model for disclosure acceptance.

acceptedAt
string<date-time>
required

The timestamp when the disclosures were accepted.

userId
string<uuid>
required

The user ID that accepted the disclosures.