Guides
Walkthroughs for the jobs a lender does with the API, in the order you do them. Each step links to the endpoint it calls.
Quickstart: a borrower to a first repaymentAuthenticate, create a client, apply for a loan, approve it, disburse it and record a repayment against the Lokta API.9 stepsHandle errors: what each status means and what to doWhat each Lokta API status code means, what to do about it, when a retry is safe, and the error codes the partner endpoints return.4 stepsRepayments, refunds and write-offsEvery money movement on a loan is a command on its transactions. See which commands exist, how to send them and how to undo one.4 stepsSet up your ledger and post a journal entryCreate ledger accounts, map financial activities to them and post a balanced journal entry with the Lokta API.6 stepsClose a period: accruals, provisioning and closureRun periodic accruals, generate provisioning entries and close accounting for a period with the Lokta API.5 stepsOnboard a sourcing partnerCreate a sourcing partner, add its agreement, activate it and attribute a loan to it with the Lokta API.6 stepsRun partner fees and record a paymentCompute partner fees for a period, approve the draft invoice and record the payment with the Lokta API.6 steps
Read this index as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai