Criar perfil contábil do produto de empréstimo
Configura o perfil contábil de uma versão de produto de empréstimo que pertence ao produto de empréstimo do caminho.
Autorizações
JWT bearer token issued by the identity provider.
Parâmetros de caminho
Loan product identifier.
"550e8400-e29b-41d4-a716-446655440000"
Corpo
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"
Resposta
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.

