Mobile money in Laravel
Laravel services, controllers, migrations and scheduled commands, with feature tests that fake the provider using Http::fake().
Every guide's code was run in a fresh Laravel project with its tests passing. Other stacks: Next.js, Node.js, Django.
Take payments
Airtel Money
- Airtel Money Collections API in Laravel: USSD Push to CallbackAccept Airtel Money in Laravel 11+: token caching, USSD push payments, callbacks confirmed by the status API, a queued job for TIP and TA, and tests.
Flutterwave
- Flutterwave Mobile Money Uganda in Laravel: MTN and AirtelAccept MTN and Airtel mobile money in Uganda with Flutterwave in Laravel: charges, verif-hash webhooks, a verify job, scheduled checks and tests.
M-Pesa
- M-Pesa STK Push in Laravel: Daraja API with Safe CallbacksAccept M-Pesa in Laravel 11+ with the Daraja API: STK push, Password and Timestamp, safe callbacks confirmed by STK query, 1037 handling and tests.
MTN MoMo
- MTN MoMo Collections API in Laravel: Step-by-Step IntegrationAccept MTN Mobile Money in Laravel 11+: a MoMo service class with token caching, a payments table, Request to Pay, safe callbacks, queued checks and tests.
Paystack
- Paystack Mobile Money in Laravel: Ghana and Kenya (MTN, M-Pesa)Accept MTN, Telecel, AT and M-Pesa mobile money with Paystack in Laravel: subunits, signed webhooks, a verify job, scheduled checks and tests.
Pesapal
- Pesapal API 3.0 in Laravel: Payments, IPN and Transaction StatusAccept M-Pesa, MTN and card payments through Pesapal API 3.0 in Laravel: cached tokens, IPN registration, orders, safe IPN handling and status checks. Tested.
Send payouts
Refunds, seller and driver payouts. Comparing the APIs first? See mobile money payouts.
Flutterwave
- Flutterwave Mobile Money Payouts in Laravel: MTN and Airtel UgandaSend payouts to MTN and Airtel Money wallets in Uganda with the Flutterwave v3 Transfers API in Laravel, without ever paying twice. With feature tests.
M-Pesa
- M-Pesa B2C API in Laravel: Safe Payouts That Never Pay TwiceSend M-Pesa B2C payouts from Laravel: SecurityCredential, the payment request, ResultURL and timeout routes, and payouts that are never sent twice.
MTN MoMo
- MTN MoMo Disbursements API in Laravel: Safe Payouts and RefundsSend money to MTN MoMo wallets from Laravel with the Disbursements API: transfers, status checks, balance checks and payouts never sent twice, with tests.
Paystack
- Paystack Mobile Money Payouts in Laravel: Ghana and Kenya TransfersSend payouts to MTN, Telecel, AT and M-Pesa wallets with the Paystack Transfers API in Laravel, never paying twice, with reversals handled and tests.
Before you choose
- Payment API ChooserFive questions about your business, and which API fits.
- MTN MoMo API vs Flutterwave vs Paystack: Which Should You Use?Compare MTN MoMo, Flutterwave and Paystack for mobile money: countries, sign-up, payment flow, webhook security, status checks and payouts.