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?

  1. Pezesha Wallet

Loan Confirmation

Confirm that loan has been funded

Loan Confirmation

POST {{BASE_URL}}/mfi/v1/loans/confirmation

This endpoint allows you to get free cakes.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

Request Body

Name
Type
Description

success

boolean

Whether the loan has been funded or not

message

string

Description of loan status

loan_id

string

Loan ID gotten from loan application

channel

string

Client Name gotten from Pezesha

data

object

Transaction data

data.trans_reference

string

Reference for transaction

data.trans_time

string

Transaction Time

data.trans_amount

number

Transaction Amount

data.wallet_balance

number

New Pezesha Wallet Balance after transaction

{
   "status":200,
   "response_code":0,
   "error":false,
   "message":"Payment processed successfully"
}
{
   "status":400,
   "response_code":0,
   "error":false,
   "message":"Unable to process request"
}

Loan ID

This is gotten from Loan Application response

Loan Confirmation

You can let Pezesha know whether a loan has been disbursed successfully or not using this callback

{
   "status":200,
   "response_code":0,
   "error":false,
   "message":"Payment processed successfully"
}
{
   "status":400,
   "response_code":0,
   "error":false,
   "message":"Unable to process request"
}
PreviousPezesha WalletNextLoan Repayment

Last updated 1 year ago

Was this helpful?