Saltar al contenido principal
POST
Create loan product (BR alias)

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string

Optional; only this spelling is read. After a success, a resend under the same key and body replays the first answer (X-Idempotency-Replayed: true) instead of creating a second product; while the first is running it gets 409, and after a server error the key is spent. The same key with another body is refused. Without it nothing is deduplicated.

Ejemplo:

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

Cuerpo

application/json
jurisdictionCode
string
requerido

Jurisdiction profile code (e.g. BR).

Ejemplo:

"BR"

loanType
string
requerido

Loan product type.

Ejemplo:

"personal"

name
string
requerido

Loan product display name.

Respuesta

Created

createdAt
string
requerido

Creation timestamp (RFC3339, UTC).

Ejemplo:

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

id
string
requerido

Server-assigned loan product identifier (uuid).

Ejemplo:

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

jurisdictionCode
string
requerido

Jurisdiction profile code (e.g. BR).

Ejemplo:

"BR"

loanType
string
requerido

Loan product type.

Ejemplo:

"personal"

name
string
requerido

Loan product display name.

status
string
requerido

Lifecycle status: draft, active or archived.

Ejemplo:

"active"

currentVersionId
string

Identifier (uuid) of the pinned active version; empty until activation.

Ejemplo:

"550e8400-e29b-41d4-a716-44665544000a"