---
title: "Ingest BR capitalization clause consent"
method: POST
path: "/api/v1/br/loan-applications/{id}/capitalization-consents"
tags: ["Loan Applications"]
---

# Ingest BR capitalization clause consent

`POST /api/v1/br/loan-applications/{id}/capitalization-consents`

## Request

- Base URL: `https://identity.sandbox.lerian.net`
- URL: `https://identity.sandbox.lerian.net/api/v1/br/loan-applications/{id}/capitalization-consents`
- Auth: none required
- TypeScript: <https://skmtc.dev/lerian/apis/identity-plugin/docs/api/v1/br/loan-applications/:id/capitalization-consents/post.ts> (a function with typed inputs; its response is checked against the schema)

Hashes clause text server-side and stores an append-only consent artifact for BR-profile disbursement guards.

## Path parameters

- `id` string, uuid, required: Loan application identifier.

## Request body

- IngestCapitalizationConsentBody
  - `acceptedAt` string, date-time, required: RFC3339 timestamp the borrower accepted the clause.
  - `clauseText` string, required: Raw capitalization clause text presented to the borrower.
  - `clauseTextHash` string, required: Client-computed SHA-256 hex digest of the canonicalized clause text.
  - `consentEvidence` string, required: Opaque evidence reference proving the borrower accepted the clause.

## Response `201`

Created

- CapitalizationClauseConsentArtifactResponse
  - `acceptedAt` string, required: RFC3339 UTC timestamp when the borrower accepted the clause.
  - `acceptedByActor` string, required: Authenticated actor identity (resolved from request context) that accepted the clause.
  - `clauseTextHash` string, required: Server-recomputed SHA-256 hex digest of the canonicalized clause text (64 lowercase hex chars).
  - `consentEvidence` string, required: Opaque evidence reference proving the borrower accepted the clause.
  - `createdAt` string, required: RFC3339 UTC timestamp when the artifact was persisted.
  - `id` string, required: Server-generated UUID of the persisted consent artifact.
  - `jurisdictionCode` string, required: ISO 3166-1 alpha-2 jurisdiction code (e.g. "BR").
  - `loanApplicationId` string, required: UUID of the loan application this consent is attached to.
  - `profileVersion` string, required: Jurisdiction profile version in effect when the disclosure was presented (e.g. "1.0.0").

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/lerian/apis/identity-plugin.md) - [All operations](https://skmtc.dev/lerian/apis/identity-plugin/llms.txt) - [OpenAPI document](https://skmtc.dev/lerian/apis/identity-plugin/revisions/25daba385532?raw)
