Crear el perfil contable del producto de préstamo
Configura el perfil contable de una versión de producto de préstamo que pertenece al producto de préstamo de la ruta.
Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de ruta
Loan product identifier.
"550e8400-e29b-41d4-a716-446655440000"
Cuerpo
Accounting recognition mode.
accrual, cash "accrual"
Loan product version identifier.
"550e8400-e29b-41d4-a716-446655440001"
Non-null GL account mappings per accounting event. New profiles require disbursement, repayment, prepayment, and accrual; accrual_tax is optional.
4 - 5 elementsOptional per-product Midaz ledger the profile's postings route into; both-or-neither with midazOrganizationId. Required under multi-tenant mode; empty single-tenant profiles fall back to the env default.
128"ledger-def"
Optional per-product Midaz organization the profile's postings route into; both-or-neither with midazLedgerId. Required under multi-tenant mode; empty single-tenant profiles fall back to the env default.
128"org-abc"
Respuesta
Created
Accounting recognition mode (accrual|cash).
"accrual"
Creation timestamp (RFC3339, UTC).
"2026-06-14T12:00:00Z"
Server-assigned accounting profile identifier (uuid).
"550e8400-e29b-41d4-a716-446655440003"
Loan product version this profile is configured for (uuid).
"550e8400-e29b-41d4-a716-446655440001"
Persisted GL account mappings, one per accounting event.

