iPay Kenya Payment Gateway

Automates Kenyan payment processing via the igateway iPay Africa APIs with HMAC-SHA256 authentication and webhook updates.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/AfricanDigitalAssetFramework/africa-stack-skills --skill ipay-kenya-payment-gateway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iPay Kenya Payment Gateway
Source: https://github.com/AfricanDigitalAssetFramework/africa-stack-skills/tree/main/east-africa/ipay
Command: npx skills add https://github.com/AfricanDigitalAssetFramework/africa-stack-skills --skill ipay-kenya-payment-gateway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Kenyan merchants face the challenge of integrating multiple Kenyan payment channels (M-Pesa, Airtel Money, EazzyPay, and card) across C2B, B2B, and B2C flows; iPay provides a unified API layer with HMAC authentication to simplify setup and ensure secure transactions.

Core Features & Use Cases

  • C2B registration, STK Push, and card payments to start transactions quickly and securely in Kenyan markets.
  • B2B payouts to supplier or partner wallets via mobile money or bank transfers, with status verification and webhook callbacks.
  • Webhook-driven reconciliation and transaction search to verify payment status and refunds in real time.

Quick Start

Register a C2B transaction, obtain a session id (sid), initiate the payment, and monitor callbacks to confirm completion.

Frequently Asked Questions about iPay Kenya Payment Gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate M-Pesa STK Push and card payments for a Kenyan e-commerce platform?

This gateway automates Kenyan payment processing by interfacing with iPay Africa APIs to handle C2B registrations, M-Pesa STK Push, and card transactions with webhook status updates across staging and live environments.

What is the best way to handle B2B payouts to suppliers via mobile money in Kenya?

The best way to handle B2B payouts is using a unified API layer that automates mobile money or bank transfers to partner wallets, verifies transaction status, and relies on webhook callbacks for real-time reconciliation.

Does the iPay Kenya payment integration support HMAC authentication for secure transactions?

Yes, the iPay Kenya payment integration enforces HMAC-SHA256 authentication, proper parameter ordering per endpoint, and strict phone formatting to ensure secure and reliable transactions across all payment flows.

How do I verify M-Pesa transaction status and process refunds in real time?

You verify M-Pesa transaction status and process refunds using webhook-driven reconciliation and transaction search features, which provide real-time payment status updates and refund verification across staging and live environments.

Can I use a single API to process both B2C payments and C2B registrations for Kenyan merchants?

Yes, you can use a unified iPay API layer to process both B2C payments and C2B registrations, simplifying setup for Kenyan merchants by consolidating M-Pesa, Airtel Money, EazzyPay, and card channels.

Why does my Kenyan payment integration fail during phone number formatting or parameter ordering?

Payment integration fails when strict phone formatting or proper parameter ordering per endpoint is not followed, making robust error handling and HMAC-SHA256 authentication essential for securing reliable transactions.