Skip to content

API Reference

Base URL

https://turnomifos.incentius.net/api

All endpoints are relative to this base URL.

Authentication

All API endpoints (except webhooks) require the X-Internal-Token header:

HeaderValue
X-Internal-TokenYour internal orchestration token from config.py

Endpoint Groups

Fineract Operations

MethodEndpointDescription
POST/fineract/operateUnified endpoint for all client & loan operations
GET/fineract/track/{tracking_id}Poll operation status

Webhooks

MethodEndpointDescription
POST/webhooks/razorpayRazorpay payment webhook
POST/webhooks/cashfreeCashfree payment webhook

Portfolio Migration

MethodEndpointDescription
POST/migration/uploadUpload migration CSV
POST/migration/runStart migration processing

Account Management

MethodEndpointDescription
POST/account/loginJWT login
POST/account/registerCreate user (admin only)

Async Processing Model

All Fineract operations are processed asynchronously:

  1. Submit - POST /fineract/operate returns immediately with a tracking_id
  2. Queue - The operation is enqueued to RQ (Redis Queue)
  3. Process - RQ worker picks up the job and calls Fineract
  4. Poll - Use GET /fineract/track/{tracking_id} to check completion

CSV Templates

Download templates for bulk operations:

See Templates for field-by-field documentation.

Turno Fineract LMS Documentation