Connect M-Pesa with Dokaai

Bring M-Pesa into your notification workflows.

Connect through n8n to use supported Dokaai actions alongside your existing tools.

M-Pesa logo
Dokaai logo

About M-Pesa

Consume M-Pesa Daraja 3.0 APIs

What you can automate

Use n8n to connect M-Pesa events to Dokaai actions. Available events and fields depend on the app.

Workflow ideas

Initiate STK Push in M-Pesa Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

Check STK Push Status in M-Pesa Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

Register C2B URLs in M-Pesa Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

These are workflow ideas, not prebuilt templates. Required data and configuration vary by trigger.

M-Pesa operations on n8n

Explore the triggers, actions, and searches available for M-Pesa in n8n. Availability and required fields depend on your account.

Actions

12

Tasks your workflow can perform.

  • Initiate STK Push

    Initiate an STK Push payment

  • Check STK Push Status

    Check the status of an STK Push transaction

  • Register C2B URLs

    Register validation and confirmation URLs for C2B payments

  • Simulate C2B Transaction

    Simulate a C2B transaction (sandbox only)

  • Send B2C Payment

    Send money from your business to customers

+7 more actions
  • Send B2B Payment

    Send money from your business to another business

  • Check Subscriber Status

    Check subscriber status via IMSI lookup

  • Register Pull URL

    Register callback URL for pull transactions

  • Query Pull Transactions

    Query transaction history for a date range

  • Check Account Balance

    Check your M-Pesa account balance

  • Check Transaction Status

    Check the status of an M-Pesa transaction

  • Reverse Transaction

    Reverse a completed M-Pesa transaction

HOW IT WORKS

How to connect

Connect M-Pesa and Dokaai in a few steps.

Choose your apps

Open your n8n instance and add the M-Pesa and Dokaai nodes to a workflow.

Connect your accounts

Connect your accounts and choose an available trigger. Install any required community nodes if needed.

Set up your workflow

Choose a Dokaai action, map the required fields, and test your workflow.

Frequently asked questions