Skip to main content

Welcome to Roja Developer Docs

Roja is a Nigerian peer-to-peer (P2P) lending platform connecting borrowers with lenders through tickets—structured, transparent loan requests and offers—supported by multi-tier KYC verification, direct-debit repayment mandates, and the proprietary Roja Score.

Whether you are an engineer contributing to the Roja monorepo or a partner integrating with the Roja API, this portal at docs.roja.dev provides the complete engineering handbook and API specifications.


Codebase & Engineering Handbook

Deep-dive into the monorepo architecture, development workflows, financial invariants, and production operations.


Platform Domain Guides

Understand how Roja's primary financial primitives operate from the user and API perspectives.


API Integration & Quickstart

Integrate against the unified REST API powering all Roja surfaces.


Architecture Principles at a Glance

  • Base URLhttps://api.getroja.com in production, https://api.roja.dev in staging, with all routes versioned under /v1.
  • OpenAPI Contract — Hand-authored in backend/spec/, generating strict Go server interfaces and the TypeScript client SDK.
  • Money Safety — All monetary values cross the wire as exact decimal strings (e.g. {"amount": "50000.00", "currency": "NGN"}). Floats are strictly prohibited.
  • Idempotency — Write endpoints that move money require an Idempotency-Key header to prevent double disbursements or duplicate repayments.
  • Zero-Container Local Dev — Local services run natively via Nix flakes (nix run .#services or nix run .#dev).

Need developer support or security escalation? Reach our team at support@getroja.com.