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 entrySet up your ledger in 6 steps with the Lokta API: create ledger accounts, map financial activities to them, then post a balanced journal entry and read it back.6 stepsClose a period: accruals, provisioning and closureClose a period in 5 steps: run accruals, generate provisioning, check the entries, then close accounting so nothing else posts. You'll need the end date.5 stepsOnboard a sourcing partnerOnboard a sourcing partner in 6 steps: create it, add its agreement, activate it, attribute a loan. Reusing an Idempotency-Key with a new body returns HTTP 409.6 stepsRun partner fees and record a paymentWork out what each partner earned in a period, approve the draft invoice per partner and currency, then record the payment once it's made. No money moves.6 steps
Read this index as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai