API Overview

StepFi REST API with JWT authentication

API Overview

The StepFi API is a NestJS backend with 13 modules, serving as the bridge between the mobile app and the Stellar blockchain.

Base URL: https://stepfi-api.onrender.com/api/v1

Interactive Docs: Swagger UI

Modules

ModuleBase PathDescription
Auth/authWallet authentication and JWT tokens
Users/usersUser profile management
Learners/learnersLearner profiles and data
Vendors/vendorsLearning vendor registry
Loans/loansBNPL loan management
Transactions/transactionsOn-chain transaction tracking
Reputation/reputationOn-chain reputation scores
Liquidity/liquiditySponsor pool operations
Vouching/vouchingMentor vouching system
Sponsors/sponsorsSponsor profile management
Notifications/notificationsPush notification management
Health/healthAPI health check
Blockchain/blockchainStellar event indexing

Authentication

StepFi uses wallet-based authentication. No passwords or emails required. See the Authentication page for the full flow.

Response Format

All endpoints return JSON with this structure:

{
  "data": {},
  "message": "Success",
  "statusCode": 200
}

Errors follow RFC 7807:

{
  "statusCode": 400,
  "message": "Validation failed",
  "error": "Bad Request"
}