Skip to main content
POST
Ingerir consentimento de cláusula de capitalização BR

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

id
string<uuid>
obrigatório

Loan application identifier.

Corpo

application/json
acceptedAt
string<date-time>
obrigatório

RFC3339 timestamp the borrower accepted the clause.

clauseText
string
obrigatório

Raw capitalization clause text presented to the borrower.

clauseTextHash
string
obrigatório

Client-computed SHA-256 hex digest of the canonicalized clause text.

Required string length: 64
Pattern: ^[a-f0-9]{64}$
Exemplo:

"a3b1c2d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90"

Opaque evidence reference proving the borrower accepted the clause.

Resposta

Created

acceptedAt
string
obrigatório

RFC3339 UTC timestamp when the borrower accepted the clause.

Exemplo:

"2026-06-14T12:00:00Z"

acceptedByActor
string
obrigatório

Authenticated actor identity (resolved from request context) that accepted the clause.

clauseTextHash
string
obrigatório

Server-recomputed SHA-256 hex digest of the canonicalized clause text (64 lowercase hex chars).

Exemplo:

"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

Opaque evidence reference proving the borrower accepted the clause.

createdAt
string
obrigatório

RFC3339 UTC timestamp when the artifact was persisted.

Exemplo:

"2026-06-14T12:00:00Z"

id
string
obrigatório

Server-generated UUID of the persisted consent artifact.

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

jurisdictionCode
string
obrigatório

ISO 3166-1 alpha-2 jurisdiction code (e.g. "BR").

Exemplo:

"BR"

loanApplicationId
string
obrigatório

UUID of the loan application this consent is attached to.

Exemplo:

"550e8400-e29b-41d4-a716-446655440001"

profileVersion
string
obrigatório

Jurisdiction profile version in effect when the disclosure was presented (e.g. "1.0.0").

Exemplo:

"1.0.0"