SwiftWallet API Documentation
M-Pesa payment gateway integration API for Kenya. Supports STK Push (C2B), B2C payments, B2Pochi payments (Pochi la Biashara), transaction reversals, wallet management, and transaction queries.
Base URL
https://swiftwallet.co.ke/v3
Version
3.0
Format
JSON
Available Endpoints
STK Push (C2B)
Initiate M-Pesa STK Push requests to collect payments from customers. The customer receives a prompt...
/v3/stk-initiate/
Pay-In (C2B)
Receive M-Pesa Customer-to-Business pay-ins without your own Daraja shortcode. Customers pay to a Sw...
/c2b.php
B2C Payments
Send money to M-Pesa users (Business to Customer). Funds are deducted from your payment wallet....
/v3/pay-request/
B2Pochi Payments
Send money to M-Pesa customer business wallets (Pochi la Biashara). Uses B2C rates for fees. Funds a...
/v3/pochi/
Reversals
Reverse a previously completed SwiftWallet-initiated outgoing payment (B2C, B2Pochi, or B2B). Uses S...
/v3/reversals/
Service Fees
Get the current fee schedule for transactions....
/v3/fees/
Transactions
Query transaction history and check payment status....
/v3/transactions/
Service Status
Check the operational status of SwiftWallet services and M-Pesa connectivity....
/v3/service-status/
Wallet
Manage wallet balances and initiate top-ups/deposits....
/v3/wallet/