PEZESHA APIs
  • Pezesha (means capital enabler)
  • Get Started
    • Authentication
    • Errors & Status Codes
  • User Registration
  • Terms & Conditions
  • Opt Out
  • Data Ingestion
  • Loan Offers
  • Loan Application
  • Loan Status
  • Loan History
  • Active Loans
  • Loan Repayment Schedule
  • Pezesha Wallet
    • Loan Confirmation
    • Loan Repayment
  • Pezesha Mpesa STK
  • FAQs
Powered by GitBook
On this page

Was this helpful?

Active Loans

As a partner use this endpoint to get all your customers active loans (Loans not fully repaid) on Pezesha.

Get Active Loans

GET {{BASE_URL}}/mfi/v1/borrowers/active/:merchant_key

This endpoint allows a partner with Pezesha to get all their clients active loans

Query Parameters

Name
Type
Description

merchant_key*

string

Merchant key provided by pezesha

Headers

Name
Type
Description

Authentication*

string

Authentication token generated from Authentication Endpoint

{
    "status": 200,
    "response_code": 0,
    "error": false,
    "message": "Active Loans!",
    "data": [
        {
            "loan_id": 10101,
            "channel": "PARTNERCHANNEL",
            "customer_names": "Jane Doe",
            "merchant_id": "merchant_jane",
            "loan_amount": "3000.00",
            "loan_appdate": "2020-01-20 12:33:04",
            "loan_status": "Funded"
        },
        {
            "loan_id": 10102,
            "channel": "PARTNERCHANNEL",
            "customer_names": "John Doe",
            "merchant_id": "merchant_john",
            "loan_amount": "2000.00",
            "loan_appdate": "2020-01-20 12:33:04",
            "loan_status": "Funded"
        }
        ]
}
{
    "status": 404,
    "response_code": 0,
    "error": true,
    "message": "No active loans found!"
}

PreviousLoan HistoryNextLoan Repayment Schedule

Last updated 2 years ago

Was this helpful?