
M-Pesa API by IntaSend
Integrate Seamless Mobile Payments into Your Application. Enhance your application with IntaSend's M-Pesa API, enabling you to send money, collect funds, and pay bills effortlessly. Our robust API solutions allow you to integrate mobile payments swiftly, ensuring a smooth financial experience for your users.
Why Choose IntaSend M-Pesa API?
Easy Integration
Utilize our SDKs and APIs to connect the M-Pesa API seamlessly, accelerating your app's deployment.
Comprehensive B2B Support
Enable Business-to-Business (B2B) payments, including Paybills and payments to till numbers within your application.
Dedicated Support
Our developer-centric support team is always available to assist you, ensuring a smooth integration process.
Why Choose IntaSend M-Pesa API?
Easy Integration
Utilize our SDKs and APIs to connect the M-Pesa API seamlessly, accelerating your app's deployment.
Comprehensive B2B Support
Enable Business-to-Business (B2B) payments, including Paybills and payments to till numbers within your application.
Dedicated Support
Our developer-centric support team is always available to assist you, ensuring a smooth integration process.
Why Choose IntaSend M-Pesa API?
Easy Integration
Utilize our SDKs and APIs to connect the M-Pesa API seamlessly, accelerating your app's deployment.
Comprehensive B2B Support
Enable Business-to-Business (B2B) payments, including Paybills and payments to till numbers within your application.
Dedicated Support
Our developer-centric support team is always available to assist you, ensuring a smooth integration process.
FrontEnd
Backend
HTML
React
Vue
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IntaSend Payment Integration</title>
<!-- Add IntaSend Inline SDK -->
<script src="https://unpkg.com/intasend-inlinejs-sdk@4.0.5/build/intasend-inline.js"></script>
</head>
<body>
<h1>Make a Payment</h1>
<!-- IntaSend Payment Button -->
<button class="intaSendPayButton" data-amount="1000" data-currency="KES" data-email="user@example.com" data-phone_number="254712345678" data-first_name="John" data-last_name="Doe" data-api_ref="INV-12345">Pay Now</button>
<script>
// Initialize IntaSend with your publishable API key
new window.IntaSend({
publicAPIKey: "<REPLACE-WITH-YOUR-PUBLISHABLE-KEY>", // Replace with your sandbox or live key
live: false // Change to true when going live
})
.on("COMPLETE", (results) => {
console.log("Payment successful:", results);
// Redirect on successful payment
window.location.href = "https://your-success-page.com";
})
.on("FAILED", (results) => {
console.log("Payment failed:", results);
// Handle failure
alert("Payment failed, please try again.");
})
.on("IN-PROGRESS", (results) => {
console.log("Payment in progress:", results);
});
</script>
</body>
</html>
Low-Code Payment Collection
Easy Setup and Activation
With IntaSend, setting up your account, integrating the API, and going live can be accomplished on the same day. We understand the complexities involved in creating a robust payment collection and disbursement system, which is why we've developed comprehensive tools and SDKs to streamline the process.
PHP SDK: Send money, M-Pesa B2B API, Collect money
Python SDK: Send money, M-Pesa B2B API, Collect money
JavaScript Inline SDK: Collect money
REST API: Send money, M-Pesa B2B API, Collect money
WordPress and WooCommerce: Collect money
Low-Code Payment Collection
Easy Setup and Activation
With IntaSend, setting up your account, integrating the API, and going live can be accomplished on the same day. We understand the complexities involved in creating a robust payment collection and disbursement system, which is why we've developed comprehensive tools and SDKs to streamline the process.
PHP SDK: Send money, M-Pesa B2B API, Collect money
Python SDK: Send money, M-Pesa B2B API, Collect money
JavaScript Inline SDK: Collect money
REST API: Send money, M-Pesa B2B API, Collect money
WordPress and WooCommerce: Collect money
Low-Code Payment Collection
Easy Setup and Activation
With IntaSend, setting up your account, integrating the API, and going live can be accomplished on the same day. We understand the complexities involved in creating a robust payment collection and disbursement system, which is why we've developed comprehensive tools and SDKs to streamline the process.
PHP SDK: Send money, M-Pesa B2B API, Collect money
Python SDK: Send money, M-Pesa B2B API, Collect money
JavaScript Inline SDK: Collect money
REST API: Send money, M-Pesa B2B API, Collect money
WordPress and WooCommerce: Collect money
GBP 100,000.00
EUR 100,191.00
USD 106,195.97
KES 124,713.20
Send Payments
Single and Bulk Payments
Initiate both single and bulk payments from your IntaSend wallet to mobile accounts in Kenya. Whether you need to pay salaries, bills, or suppliers, IntaSend handles large transactions efficiently, supporting batches of up to 5,000 transactions in a single request. Our system manages retries and provides detailed reports for reconciliation, ensuring accurate and reliable payments. Start building fast and scalable solutions with our M-Pesa API, reducing your effort and increasing your productivity.
Card
Apple Pay

Google Pay

Card Number
1234 1234 1234 1234


Expiration
MM / YY
CVC
CVC

Country
Kenya
SUB TOTAL
USD 20
PAY USD 21
Powered By

Card
Apple Pay

Google Pay

Card Number
1234 1234 1234 1234


Expiration
MM / YY
CVC
CVC

Country
Kenya
SUB TOTAL
USD 20
PAY USD 21
Powered By

M-Pesa STK Push - Easy Setup
Collect Payments Effortlessly
In addition to card payments, IntaSend supports M-Pesa Express STK Push. Send STK Push requests to your clients using our API and integrate a secure payment form on your website with our JavaScript SDK. Users can easily add their phone numbers and complete payments seamlessly. Subscribe to our webhook events to receive real-time status updates for your backend applications and reporting needs.
Venture into New Markets easily
Simplify Currency Management
Enhance Cross-Border Transactions
M-Pesa STK Push - Easy Setup
Collect Payments Effortlessly
In addition to card payments, IntaSend supports M-Pesa Express STK Push. Send STK Push requests to your clients using our API and integrate a secure payment form on your website with our JavaScript SDK. Users can easily add their phone numbers and complete payments seamlessly. Subscribe to our webhook events to receive real-time status updates for your backend applications and reporting needs.
Venture into New Markets easily
Simplify Currency Management
Enhance Cross-Border Transactions
M-Pesa STK Push - Easy Setup
Collect Payments Effortlessly
In addition to card payments, IntaSend supports M-Pesa Express STK Push. Send STK Push requests to your clients using our API and integrate a secure payment form on your website with our JavaScript SDK. Users can easily add their phone numbers and complete payments seamlessly. Subscribe to our webhook events to receive real-time status updates for your backend applications and reporting needs.
Venture into New Markets easily
Simplify Currency Management
Enhance Cross-Border Transactions

Secure and Reliable
Built Infrastructure You Can Trust
IntaSend utilizes a secure network connection and undergoes periodic audits to maintain PCI and payment security standards. We prioritize security in all our APIs, including the M-Pesa API, ensuring safe transactions through robust authentication mechanisms and adherence to PSD2 protocols. Our secure environment is accessible only by authorized parties, providing peace of mind for your business and your customers.
Secure and Reliable
Built Infrastructure You Can Trust
IntaSend utilizes a secure network connection and undergoes periodic audits to maintain PCI and payment security standards. We prioritize security in all our APIs, including the M-Pesa API, ensuring safe transactions through robust authentication mechanisms and adherence to PSD2 protocols. Our secure environment is accessible only by authorized parties, providing peace of mind for your business and your customers.
Secure and Reliable
Built Infrastructure You Can Trust
IntaSend utilizes a secure network connection and undergoes periodic audits to maintain PCI and payment security standards. We prioritize security in all our APIs, including the M-Pesa API, ensuring safe transactions through robust authentication mechanisms and adherence to PSD2 protocols. Our secure environment is accessible only by authorized parties, providing peace of mind for your business and your customers.
Documentation
Sandbox and Everything You Need to Get Started
Obtain your test keys from our sandbox environment and begin testing your implementation immediately. Visit our Developers API Documentation for detailed instructions on sending and receiving payments. Access a comprehensive list of our tools and SDKs to facilitate your integration process. Need assistance? Contact our Developers Support Lead directly for personalized support.
Documentation
Sandbox and Everything You Need to Get Started
Obtain your test keys from our sandbox environment and begin testing your implementation immediately. Visit our Developers API Documentation for detailed instructions on sending and receiving payments. Access a comprehensive list of our tools and SDKs to facilitate your integration process. Need assistance? Contact our Developers Support Lead directly for personalized support.
Documentation
Sandbox and Everything You Need to Get Started
Obtain your test keys from our sandbox environment and begin testing your implementation immediately. Visit our Developers API Documentation for detailed instructions on sending and receiving payments. Access a comprehensive list of our tools and SDKs to facilitate your integration process. Need assistance? Contact our Developers Support Lead directly for personalized support.

Frequently
Asked Questions
What is the IntaSend M-Pesa API?
Who can use the IntaSend M-Pesa API?
What functionalities does the M-Pesa API provide?
Does the API support bulk payments?
Is there support for multiple programming languages?
How do I integrate the M-Pesa API into my application?
Is there a sandbox environment for testing?

Frequently
Asked Questions
What is the IntaSend M-Pesa API?
The IntaSend M-Pesa API enables businesses and developers to integrate M-Pesa payment functionalities into their applications, allowing for seamless collection and disbursement of funds.
Who can use the IntaSend M-Pesa API?
The API is designed for businesses of all sizes, developers, and organizations looking to incorporate M-Pesa payment solutions into their platforms.
What functionalities does the M-Pesa API provide?
The API supports sending money, collecting payments via M-Pesa STK push, and facilitating B2B transactions such as payments to PayBill and Till numbers.
Does the API support bulk payments?
Yes, the IntaSend M-Pesa API allows for initiating single and bulk payments, handling up to 5,000 transactions in a single request.
Is there support for multiple programming languages?
IntaSend provides SDKs for various programming languages, including PHP, Python, and JavaScript, to facilitate easy integration.
How do I integrate the M-Pesa API into my application?
You can integrate the API by obtaining API keys from the IntaSend dashboard, utilizing the provided SDKs, and following the detailed documentation available on the IntaSend website.
Is there a sandbox environment for testing?
Yes, IntaSend offers a sandbox environment where you can test your integration before going live.

Frequently
Asked Questions
What is the IntaSend M-Pesa API?
Who can use the IntaSend M-Pesa API?
What functionalities does the M-Pesa API provide?
Does the API support bulk payments?
Is there support for multiple programming languages?
How do I integrate the M-Pesa API into my application?
Is there a sandbox environment for testing?
Start Collecting And Disbursing Payments Today
Product
Resources
Company
Email: support@intasend.com, hello@intasend.com
Phone: +254 711 082 947 | +254 114 114 644
© 2024 IntaSend. All rights reserved.
Start Collecting And Disbursing Payments Today
Email: support@intasend.com, hello@intasend.com
Phone: +254 711 082 947 | +254 114 114 644
© 2024 IntaSend. All rights reserved.
Start Collecting And Disbursing Payments Today
Email: support@intasend.com, hello@intasend.com
Phone: +254 711 082 947 | +254 114 114 644
© 2024 IntaSend. All rights reserved.
Product
Resources