cURL
curl --request POST \ --url https://api.sandbox.tesouro.com/embedded-banking/v1/disclosure-acceptances \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "invitationToken": "<string>", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "acceptedAt": "2023-11-07T05:31:56Z", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Accepts bank disclosures using an invitation token for a specific user. Requires an application (APP) token.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request model for accepting bank disclosures with an invitation token.
The invitation token for accepting disclosures.
The user ID accepting the disclosures.
Disclosures accepted successfully.
Response model for disclosure acceptance.
The timestamp when the disclosures were accepted.
The user ID that accepted the disclosures.
Was this page helpful?