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?

Pezesha Mpesa STK

This endpoint enables easier payment experience for Pezesha Partners

Initiate STK Push

POST {{BASE_URL}}/mfi/v2/mpesa/stk

Request merchant for funds using Mpesa's STK push to Pezesha's Paybill

Headers

Name
Type
Description

Authorization

String

Token from AUTH endpoint

Request Body

Name
Type
Description

amount*

String

Amount merchant wants to pay

phone*

String

Phone number to make payment (+254)

account*

String

Account merchant wants to direct funds to

{
    "status": 200,
    "response_code": 0,
    "error": false,
    "message": "STK Request Submitted Successfully"
}
{
    "status": 422,
    "message": "Validation Error",
    "errors": {
        "amount": [
            "The amount field is required."
        ],
        "phone": [
            "The phone field is required."
        ],
        "account": [
            "The account field is required."
        ]
    }
}
PreviousLoan RepaymentNextFAQs

Last updated 3 years ago

Was this helpful?