Create loan application
Creates a pending approval loan application from an already-previewed schedule snapshot.
Autorizações
JWT bearer token issued by the identity provider.
Cabeçalhos
Canonical idempotency request ID (lib-commons enforcer reads this). Required: without a key a retry of this request cannot be told apart from a second instruction, and the duplicate it books is undone by hand.
"550e8400-e29b-41d4-a716-446655440003"
Corpo
The borrower's CPF (11 digits) or CNPJ (14 characters, the alphanumeric CNPJ included); the mask's dots, dash, slash and spaces are ignored and the check digits must hold (LENDER-0258). It names whose credit this is: a CPF is a pessoaFisica, a CNPJ a pessoaJuridica, and the pinned product version must admit that kind (LENDER-0228). The Lender finds the borrower's holder by it in the Midaz CRM of the product's institution; the response's borrowerId is that holder. The proposal records that id, never the document.
"52998224725"
The borrower's name. A holder the Lender registers for this proposal carries it; an existing holder of the document keeps its own. The proposal never records it; blank refused (LENDER-0258).
256"Maria da Silva"
Expected disbursement date (RFC3339).
"2026-06-14T12:00:00Z"
Loan product version identifier (UUID).
"550e8400-e29b-41d4-a716-446655440000"
Number of installments. Bounded, inclusive, by the loan product version's installment limits when it declares them (LENDER-0252). The term they span is bounded by its term limits (LENDER-0251): months from the expected disbursement day to the last instalment's grid date, a started month counting whole.
1 <= x <= 60024
Requested monthly interest rate as a decimal string, scale 8 (e.g. "0.00000100").
"0.00000100"
Day the first instalment falls due (YYYY-MM-DD or RFC3339; an instant names the Brazilian civil day it falls on). OPTIONAL: omit it and the application records the day the schedule generator strikes for expectedDisbursementDate — one month later, moved to a business day. Bounded by the loan product version's admitted window, counted from the expected disbursement day (LENDER-0235). Mutually exclusive with gracePeriodDays (LENDER-0232). Every schedule of this application hangs on the recorded date: the credit instrument's table and the release.
"2026-07-14"
Carência in calendar days, in place of firstDueDate (LENDER-0232): the application records as its first due date the business day the schedule generator moves expectedDisbursementDate plus this many days to, the day a schedule preview with the same gracePeriodDays, loanProductVersionId and startDate strikes. Bounded by the loan product version's admitted window as a chosen firstDueDate is (LENDER-0235); zero is none. The application records only the date.
0 <= x <= 36545
Schedule offer this application cites: the scheduleOfferSnapshotId a schedule preview returned. OPTIONAL — an application does not have to be simulated first. When supplied it must name an offer on file, or the application is refused with LENDER-0236; its terms are never compared with the application's.
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
Instalment the proposal is asked by, as a decimal string, in place of requestedPrincipalAmount: a proposal names exactly one of this, requestedPrincipalAmount and requestedNetAmount (LENDER-0255). The loan product version must admit the installment amount anchor (LENDER-0254). The principal recorded is the largest, in cents, whose every instalment on the recorded first due date is at most this amount; when none is, LENDER-0256. The version's principal limits apply to the resolved principal: its maximum caps the search, and a principal below its minimum is refused (LENDER-0250).
"300.00"
Net the borrower is to receive, as a decimal string, in place of requestedPrincipalAmount: a proposal names exactly one of this, requestedPrincipalAmount and requestedInstallmentAmount (LENDER-0255). The loan product version must admit the net amount anchor (LENDER-0254). The principal recorded is the least gross, in cents, whose release on the expected disbursement day delivers this amount after the jurisdiction withholding and the origination fee, or 0.01 above it. A fee that takes the whole net is refused with LENDER-0209, and a borrower kind the deployment prices no tax for with LENDER-0233. The version's principal limits apply to the resolved gross and never cap it (LENDER-0250).
"10000.00"
Requested principal amount as a decimal string (e.g. "50000.00"). A proposal names exactly one of this, requestedInstallmentAmount and requestedNetAmount (LENDER-0255). Bounded, inclusive, by the loan product version's principal limits when it declares them (LENDER-0250).
"50000.00"
Tax regime the borrower declared. OPTIONAL: omit it and the release uses the loan product version's own regime: on a version whose own regime is brazilSimplesNacional a pessoaJuridica is priced as an optante, and anyone else at the borrower kind's rate. It must be one of the regimes the version admits (LENDER-0930), which GET /api/v1/br/loan-product-versions/{id}/tax-regimes lists. brazilSimplesNacional is for a pessoaJuridica opting into the Simples Nacional, MEI included (LENDER-0931): the release withholds the IOF of Decreto 6.306/2007, art. 7o, VI, 0.00274% a day plus 0.38%, while the operation's contracted principal is R$ 30.000,00 or less, and the pessoaJuridica rate above it. The client keeps the borrower's art. 45, II declaration; the application records only the regime.
"brazilSimplesNacional"
Resposta
Created
Authenticated officer who created the application (request subject), or empty on a system-originated application, which has no human officer. Whatever the identity provider issues as the subject: not necessarily a UUID, at most 255 characters.
"officer-xyz"
The borrower's holder id in the Midaz CRM of the product's institution (UUID).
"550e8400-e29b-41d4-a716-446655440002"
Expected disbursement date (RFC3339, UTC).
"2026-06-14T12:00:00Z"
Loan application identifier (UUID).
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
Loan product version this application was created against (UUID).
"550e8400-e29b-41d4-a716-446655440000"
ISO-2 jurisdiction code resolved at preview time.
"BR"
Jurisdiction profile version resolved at preview time.
"1.0.0"
Number of installments requested.
24
Requested monthly interest rate as a decimal string, scale 8 (e.g. "0.00000100").
"0.00000100"
Requested principal amount as a decimal string, minor-unit precision scale 2 (e.g. "50000.00"). On a proposal asked by its instalment, the principal the Lender resolved for it; on one asked by its net, the gross the Lender resolved for it.
"50000.00"
Lifecycle status: one of pending_approval, approved, rejected, withdrawn, disbursed.
"pending_approval"
Approval facts; present only when the application is approved or disbursed.
Whose credit this is: pessoaFisica for a CPF borrowerDocument, pessoaJuridica for a CNPJ. ABSENT on an application created before the declaration existed: such an application cannot be taxed or described, and the paths that need the kind refuse it with LENDER-0230 rather than assuming one.
"pessoaFisica"
Disbursement facts; present only when the application is disbursed.
First instalment date the application records (YYYY-MM-DD). ABSENT on an application created before the date was recorded, on a payroll-rail application and on a renegotiated contract.
"2026-07-14"
Schedule offer this application cites (UUID). ABSENT when it cites none, which is allowed: simulating first is optional.
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
Rejection facts; present only when the application is rejected.
Instalment the proposal was asked by, as a decimal string, minor-unit precision scale 2. ABSENT when the proposal named another amount.
"300.00"
Net the proposal was asked by, as a decimal string, minor-unit precision scale 2. ABSENT when the proposal named another amount.
"10000.00"
Tax regime the borrower declared at creation. ABSENT when none was declared, and the release uses the loan product version's regime.
"brazilSimplesNacional"
Withdrawal facts; present only when the application is withdrawn.

