Skip to main content
POST
Aplicar el cargo heredado del producto de préstamo

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string
requerido

Canonical idempotency key for safe retries.

Ejemplo:

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

Parámetros de ruta

id
string<uuid>
requerido

Loan product identifier.

Ejemplo:

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

Cuerpo

application/json
chargeEffectiveAt
string
requerido

Charge effective timestamp (RFC3339 or YYYY-MM-DD).

Ejemplo:

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

chargeTemplateId
string
requerido

Charge template identifier.

loanAccountId
string<uuid>
requerido

Loan account identifier.

Ejemplo:

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

productVersionId
string<uuid>
requerido

Product version identifier.

Ejemplo:

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

accountCreatedAt
string

Loan account creation timestamp (RFC3339 or YYYY-MM-DD).

Ejemplo:

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

Respuesta

Created

accountCreatedAt
string
requerido

Loan account creation timestamp (RFC3339, UTC).

Ejemplo:

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

amount
string
requerido

Charge amount as a decimal string in major currency units, fixed scale of 2 decimal places.

Ejemplo:

"1234.56"

assessedAt
string
requerido

Timestamp the charge was assessed (RFC3339, UTC).

Ejemplo:

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

chargeCode
string
requerido

Charge code resolved from the template.

Ejemplo:

"LATE_FEE"

chargeTemplateId
string
requerido

Charge template the fact was derived from.

chargeType
string
requerido

Charge type resolved from the template.

currency
string
requerido

ISO 4217 currency code of the amount.

Ejemplo:

"BRL"

loanAccountId
string
requerido

Loan account the charge was applied to (uuid).

Ejemplo:

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

rate
string
requerido

Charge rate as a decimal string (fractional, e.g. "0.015" for 1.5%).

Ejemplo:

"0.015"

sourceProductVersionId
string
requerido

Product version whose template produced this charge (uuid).

Ejemplo:

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

regulatoryWarnings
string[] | null

Non-blocking regulatory warnings raised while assessing the charge.