{"id":50343,"date":"2025-10-27T13:33:14","date_gmt":"2025-10-27T13:33:14","guid":{"rendered":"https:\/\/www.nimbleappgenie.com\/blogs\/?p=50343"},"modified":"2025-10-27T13:36:43","modified_gmt":"2025-10-27T13:36:43","slug":"how-to-integrate-m-pesa-api","status":"publish","type":"post","link":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/","title":{"rendered":"How To Integrate MPESA (Daraja) API In Mobile App Development?"},"content":{"rendered":"<p>Mobile payments and fintech apps have made their way to every corner of the world.<\/p>\n<p>For every continent, every region, every country has an app that has paved the way for different fintech solutions, and in East Africa, it&#8217;s M-PESA.<\/p>\n<p>With hundreds of thousands of users, M-PESA has made it easier for people to transfer funds and manage their finances from the comfort of their smartphones.<\/p>\n<p>Not only does it help the users, but it has also helped several businesses enjoy the perks of digital payments.<\/p>\n<p>Thanks to the M-PESA API, also known as the Daraja API, businesses can easily enable their platform to accept payments through M-PESA.<\/p>\n<p>So how does it all work? How can one integrate M-PESA in any business? Well, we will talk about all of it in this post.<\/p>\n<p>If you are looking for the M-PESA API integration guide, then you have reached just the right place!<\/p>\n<p>Without further ado, let\u2019s get started!<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites-for-M-PESA-API-Integration\"><\/span>Prerequisites for M-PESA API Integration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before we start with the implementation, we must understand what is required to complete the process.<\/p>\n<p>Integrating the Daraja API is quite a technical process and requires you to have some familiarity with the <a href=\"https:\/\/www.nimbleappgenie.com\/blogs\/app-development-process\/\" target=\"_blank\" rel=\"noopener\">app development process<\/a> to understand where and how exactly your application will be integrated.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-50380 aligncenter\" src=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Prerequisites-for-M-PESA-API-Integration.webp\" alt=\"Prerequisites for M-PESA API Integration\" width=\"900\" height=\"500\" srcset=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Prerequisites-for-M-PESA-API-Integration.webp 900w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Prerequisites-for-M-PESA-API-Integration-300x167.webp 300w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Prerequisites-for-M-PESA-API-Integration-768x427.webp 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><strong>If we talk about the prerequisites of M-PESA API integration, you primarily need the following &#8211;<\/strong><\/p>\n<ol>\n<li><strong>M-PESA Developer Account<\/strong>: A developer account helps you gain access to the necessary tools required to initiate the integration process.<\/li>\n<li><strong>Consumer Key &amp; Consumer Secret:<\/strong> These are integral entities that are required to authenticate your API calls.<\/li>\n<li><strong>Initiator Name &amp; Security Credentials: <\/strong>These are your M-PESA API credentials, which include an API key, a Shortcode, and potentially a Passkey.<\/li>\n<li><strong>API Endpoints:<\/strong> When integrating the M-PESA API, you need API endpoints to locate and navigate to the API. It is a URL that acts as the network address of the API, allowing clients to perform various necessary operations.<\/li>\n<li><strong>Reliable Hosting:<\/strong> Since it is a transaction-based solution, it will eventually scale. M-PESA integration requires reliable hosting services for better scalability and security of the platform.<\/li>\n<li><strong>Development Environment: <\/strong>A suitable development environment is necessary for M-PESA API integration. Choose a development environment that is flexible and can be easily scaled as required.<\/li>\n<li><strong>Testing Tools:<\/strong> Before going live with the API, it is necessary to test whether it is working correctly. Tools like Postman can help you test the endpoints and the formatting of the request\/response for better performance.<\/li>\n<li><strong>M-PESA Portal Access: <\/strong>Make sure your M-PESA account is a business account linked to a till or paybill number, as it is the final thing that will help you track your API.<\/li>\n<\/ol>\n<p>With all these, you are ready to start the integration process for M-PESA API.<\/p>\n<p>Having a professional API integration specialist and a team of knowledgeable developers can significantly simplify the process.<\/p>\n<p>If you plan to go through the integration process, ensure you have all the prerequisites ready.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How-to-Integrate-M-PESA-API-Step-by-Step-Process\"><\/span>How to Integrate M-PESA API? Step-by-Step Process<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After you have acquired the necessary tools, credentials, and certifications, it is time to initiate the next step, which is integration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-50378 aligncenter\" src=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/How-to-Integrate-M-PESA-API_-Step-by-Step-Process.webp\" alt=\"How to Integrate M-PESA API_ Step-by-Step Process\" width=\"900\" height=\"500\" srcset=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/How-to-Integrate-M-PESA-API_-Step-by-Step-Process.webp 900w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/How-to-Integrate-M-PESA-API_-Step-by-Step-Process-300x167.webp 300w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/How-to-Integrate-M-PESA-API_-Step-by-Step-Process-768x427.webp 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><strong>The following are the steps that you need to follow for a robust Daraja API integration &#8211;<\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-1-%E2%80%93-Register-on-the-Safaricom-Portal\"><\/span>Step 1 &#8211; Register on the Safaricom Portal<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Head to the Safaricom portal and register your business. This will help you list your application on the portal and get your hands on the API.<\/p>\n<p>The portal serves as both your business and development guide as it offers different features and capabilities of the M-PESA API.<\/p>\n<p>Keep in mind that without registering for this account, you cannot initiate the integration, even with the help of a professional.<\/p>\n<p>Hence, it is advised that you register first and then approach an M-PESA API integration expert to help you out!<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-2-%E2%80%93-Get-Essential-Credentials\"><\/span>Step 2 &#8211; Get Essential Credentials<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The next step is to obtain your credentials that will help you access and integrate the M-PESA API.<\/p>\n<p>This is also the step where you get your hands on the Consumer Key and Customer Secret, which are a necessary prerequisite for Daraja MPESA API Integration.<\/p>\n<p>The credentials will further allow you to easily make the API interact with your platform better.<\/p>\n<p>Not to mention, the Safaricom portal requires proper communication with the <a href=\"https:\/\/www.nimbleappgenie.com\/blogs\/payment-gateway-integration\/\" target=\"_blank\" rel=\"noopener\">payment gateway<\/a> that you are using, else the API might not work as expected.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-3-%E2%80%93-Set-up-Authentication\"><\/span>Step 3 &#8211; Set up Authentication<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The next step is to set up your authentication. The M-PESA API generally uses OAuth 2.0 for better security of the application.<\/p>\n<p>To set it up, you will need to share both Consumer Key and Customer Secret with Safaricom\u2019s authentication server.<\/p>\n<p>In exchange, the server generates the OAuth token, which serves as your application\u2019s identity for the M-PESA servers.<\/p>\n<p>Now, keep in mind that the authentication has its own time-out session, which means the token you have generated comes with an expiration date.<\/p>\n<p>You will be required to generate them periodically, else the API requests will be rejected.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-4-%E2%80%93-Specify-Payment-Operations\"><\/span>Step 4 &#8211; Specify Payment Operations<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>M-PESA offers multiple types of payment options and workflows. Hence, it is important to define what kind of payment workflow you want to use.<\/p>\n<p>This is necessary before the integration begins, as it also defines the API endpoints and configuration that will be required for your business.<\/p>\n<p>Define whether your transactions will be Customer to Business (C2B) or Business to Business (B2B).<\/p>\n<p>In case it is C2B, you need to define payment processing, while for B2B, you configure the solution for timely disbursement.<\/p>\n<p>Defining the payment operations firsthand makes your M-PESA API integration more efficient.<\/p>\n<p><a href=\"https:\/\/www.nimbleappgenie.com\/contact\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-50375 aligncenter\" src=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Confused-with-the-M-PESA-API-Integration-process_-Get-M-PESA-integration-done-by-experts-CTA-1.webp\" alt=\"How to Integrate M-PESA API?\" width=\"933\" height=\"350\" srcset=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Confused-with-the-M-PESA-API-Integration-process_-Get-M-PESA-integration-done-by-experts-CTA-1.webp 933w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Confused-with-the-M-PESA-API-Integration-process_-Get-M-PESA-integration-done-by-experts-CTA-1-300x113.webp 300w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Confused-with-the-M-PESA-API-Integration-process_-Get-M-PESA-integration-done-by-experts-CTA-1-768x288.webp 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-5-%E2%80%93-Integrate-Webhooks\"><\/span>Step 5 &#8211; Integrate Webhooks<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Webhooks are your instant communication between the M-PESA server and your application.<\/p>\n<p>The key aspects of digital payments through a platform like M-PESA are that it makes the entire process real-time.<\/p>\n<p>The customer initiates a payment transaction, and you are instantly notified of whether it went through or failed.<\/p>\n<p>These notifications are enabled through Webhooks. A Webhook URL is shared with the M-PESA Servers that they can call whenever a transaction is initiated.<\/p>\n<p>With the help of Webhook integration, the need for manual status checking can be eliminated, saving the essence of digital and <a href=\"https:\/\/www.nimbleappgenie.com\/blogs\/global-evolution-of-instant-payments\/\" target=\"_blank\" rel=\"noopener\">instant payments<\/a>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-6-%E2%80%93-Run-a-Pilot-for-Testing\"><\/span>Step 6 &#8211; Run a Pilot for Testing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After you have integrated your webhooks, the API is now ready to be used. It is advised that you test your integration by simply making a few test transactions.<\/p>\n<p>This also allows you to understand the workflow of the API.<\/p>\n<p>With the help of the sandbox provided by Safaricom, your developer can easily simulate potential payment scenarios, which helps in <a href=\"https:\/\/www.nimbleappgenie.com\/blogs\/fintech-app-testing\/\" target=\"_blank\" rel=\"noopener\">testing the fintech app<\/a> for all types of issues, including incorrect API requests, authentication errors, or webhook delays.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step-7-%E2%80%93-Take-Your-Solution-Live\"><\/span>Step 7 &#8211; Take Your Solution Live<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After identifying the key issues, simply resolve them and take your solution live. This is the stage where your platform is out of the testing environment and enters the production environment for good.<\/p>\n<p>Use the URL provided by Safaricom for production rather than using the sandbox URLs for making the final solution live.<\/p>\n<p>With this stage, the integration is considered complete and live for your consumers to use.<\/p>\n<p>Following these steps diligently can help you elevate your users\u2019 payment experience, allowing you to enable M-PESA on your platform.<\/p>\n<p>The integration not only simplifies the payments for your users but also brings along several different benefits. What are these benefits?<\/p>\n<p>Let\u2019s find out in the next section.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Benefits-of-M-PESA-API-Integration\"><\/span>Benefits of M-PESA API Integration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>One of the core reasons why businesses are keen to integrate the M-PESA API on their platforms is due to the multitude of features and advantages that it has to offer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-50373 aligncenter\" src=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Benefits-of-M-PESA-API-Integration.webp\" alt=\"Benefits of M-PESA API Integration\" width=\"900\" height=\"500\" srcset=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Benefits-of-M-PESA-API-Integration.webp 900w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Benefits-of-M-PESA-API-Integration-300x167.webp 300w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Benefits-of-M-PESA-API-Integration-768x427.webp 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>If you have second thoughts about M-PESA API integration, check out the following benefits, as they might help you make the decision!<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Benefit-1-%E2%80%93-Broader-Business-Reach\"><\/span><strong>Benefit #1 &#8211; Broader Business Reach<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>With your platform having the ability to collect payments digitally, the business reach becomes practically limitless.<\/p>\n<p>With added currency support, your platform can easily be pushed in different parts of the world, provided you meet all the requirements and compliances for those areas.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Benefit-2-%E2%80%93-Reduced-Cart-Abandonment\"><\/span><strong>Benefit #2 &#8211; Reduced Cart Abandonment<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The majority of the e-commerce platforms face the issue of cart abandonment as payment modes are not user-friendly.<\/p>\n<p>When a user finds the option to pay for things instantly, they are more likely to go through the transaction.<\/p>\n<p>The mind can change anytime, leading to abandonment of the items added to the cart.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Benefit-3-%E2%80%93-Lower-Operational-Cost\"><\/span><strong>Benefit #3 &#8211; Lower Operational Cost<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>With M-PESA digital API integration, the operational costs for handling payments become extremely low.<\/p>\n<p>Everything is automated, which means the application doesn\u2019t necessarily require a dedicated resource for tracking.<\/p>\n<p>With payment history and transaction IDs, finding a transaction is easy and requires minimal effort.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Benefit-4-%E2%80%93-Efficient-B2B-B2C-Transaction\"><\/span><strong>Benefit #4 &#8211; Efficient B2B &amp; B2C Transaction<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Businesses that often deal in both B2B and B2C affairs can find M-PESA integration to be a game-changer.<\/p>\n<p>The option works for both types of transactions and can also be automated for the same.<\/p>\n<p>The efficiency is unreal as you are no longer using different methods for different transactions.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Benefit-5-%E2%80%93-Improved-Cashflow\"><\/span><strong>Benefit #5 &#8211; Improved Cashflow<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The instant settlement of transactions offered by M-PESA improves cash availability better for any business.<\/p>\n<p>The inflow of funds is better, making cash readily available for the businesses. This improved cash flow allows your business to grow faster with better liquidity.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Challenges-in-M-PESA-API-Integration\"><\/span>Challenges in M-PESA API Integration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The benefits that businesses can experience with the M-PESA API integration are truly rewarding.<\/p>\n<p>However, to make the most of these benefits, the integration must be completed diligently, which is a challenge in itself.<\/p>\n<p>But that is not the only challenge.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-50374 aligncenter\" src=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Challenges-in-M-PESA-API-Integration.webp\" alt=\"Challenges in M-PESA API Integration\" width=\"900\" height=\"500\" srcset=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Challenges-in-M-PESA-API-Integration.webp 900w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Challenges-in-M-PESA-API-Integration-300x167.webp 300w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Challenges-in-M-PESA-API-Integration-768x427.webp 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>Some of the challenges that a business might encounter when integrating the M-PESA API are as follows &#8211;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Challenge-1-%E2%80%93-Credential-Errors\"><\/span><strong>Challenge #1 &#8211; Credential Errors<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It is not that easy to gain access to the right M-PESA API credentials. Generating them is certainly a challenge that many novice users come across.<\/p>\n<p>There\u2019s no direct way of resolving the challenge as it requires experience and skill. Hiring a professional can definitely be more sensible if you come across this issue.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Challenge-2-%E2%80%93-Misconfigured-Callback-URL\"><\/span><strong>Challenge #2 &#8211; Misconfigured Callback URL<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The callback URL generated by Safaricom\u2019s portal must be configured properly to ensure the communication between the client and the server is flawless.<\/p>\n<p>Also, it should be on a publicly accessible domain; if not, issues may arise.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Challenge-3-%E2%80%93-SSL-Certificate-Errors\"><\/span><strong>Challenge #3 &#8211; SSL Certificate Errors<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The SSL certificate is necessary for safe communication with the M-PESA API, as the transaction data is highly sensitive.<\/p>\n<p>Keeping track of the SSL certificate configuration is essential; however is also a challenge many face.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Challenge-4-%E2%80%93-Documentation-Support\"><\/span><strong>Challenge #4 &#8211; Documentation &amp; Support<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Since M-PESA is a recent application, it does not have a lot of documentation and support that can be used for reference.<\/p>\n<p>The challenge is real, especially for new developers and people planning to go through the M-PESA API integration process on their own.<\/p>\n<p>All these challenges do make it typical for an inexperienced individual to carry out the M-PESA API integration on their own.<\/p>\n<p>The best way to get over a flawless M-PESA API development is to simply hire an API integration specialist who can do it for you.<\/p>\n<p>If you are wondering who can help, then keep on reading, as we might have the answer for you!<\/p>\n<p><a href=\"https:\/\/www.nimbleappgenie.com\/contact\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-50379 aligncenter\" src=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Let-Professional-Developers-Handle-Your-M-PESA-API-Integration-While-You-Focus-On-Growing-Your-Business-CTA-2.webp\" alt=\"How to Integrate M-PESA API?\" width=\"933\" height=\"350\" srcset=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Let-Professional-Developers-Handle-Your-M-PESA-API-Integration-While-You-Focus-On-Growing-Your-Business-CTA-2.webp 933w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Let-Professional-Developers-Handle-Your-M-PESA-API-Integration-While-You-Focus-On-Growing-Your-Business-CTA-2-300x113.webp 300w, https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Let-Professional-Developers-Handle-Your-M-PESA-API-Integration-While-You-Focus-On-Growing-Your-Business-CTA-2-768x288.webp 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Nimble-AppGenie-Your-M-PESA-API-Integration-Partner\"><\/span>Nimble AppGenie: Your M-PESA API Integration Partner<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Looking for a professional who can help you with the integration, Nimble AppGenie can be a great option.<\/p>\n<p>With years of experience in <a href=\"https:\/\/www.nimbleappgenie.com\/solutions\/fintech-app-development\" target=\"_blank\" rel=\"noopener\">fintech app development services<\/a>, they can help you with the integration and also guide you through the process of setting up a robust payment system that has extended options to help you accept payments through M-PESA and several other modes.<\/p>\n<p>The idea of M-PESA integration can seem daunting to someone who has no prior experience with the integration; however, when it comes to Nimble AppGenie, you can relax as you are in safe hands.<\/p>\n<p>Give your platform the ability to accept modern payments with M-PESA API integration. Reach out now!<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Digital payments are a necessity in today\u2019s ever-evolving scenario. M-PESA API integration brings a lot of convenience to both consumers and businesses.<\/p>\n<p>It only makes sense to upgrade your existing payment experience by simply integrating the Daraja M-PESA API.<\/p>\n<p>However, as you already know, integrating the same is not that easy. Hence, we recommend you follow a step-by-step API integration process or let the professionals help you out.<\/p>\n<p>With that said, we have reached the end of this post. Hope you find all of the shared information helpful.<\/p>\n<p>In case you have any doubts or want to start the integration process with the help of experts, feel free to contact us!<\/p>\n<p>Thanks for reading, Good Luck!<\/p>\n<h2><span class=\"ez-toc-section\" id=\"FAQs\"><\/span>FAQs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"faq-parent\">\n<div id=\"accordionExample\" class=\"accordion\">\n<p><!-- FAQ 1 --><\/p>\n<div class=\"accordion-item\">\n<p id=\"headingOne\" class=\"accordion-header\"><button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseOne\" aria-expanded=\"false\" aria-controls=\"collapseOne\"><br \/>\nWhat are some ways I can use the M-PESA API?<br \/>\n<\/button><\/p>\n<div id=\"collapseOne\" class=\"accordion-collapse collapse\" aria-labelledby=\"headingOne\" data-bs-parent=\"#accordionExample\">\n<div class=\"accordion-body\">The M-PESA API integration can help you automate bill payments, pay salaries directly to employees\u2019 M-PESA wallets, and enable simplified e-commerce transactions for your customers.<\/div>\n<\/div>\n<\/div>\n<p><!-- FAQ 2 --><\/p>\n<div class=\"accordion-item\">\n<p id=\"headingTwo\" class=\"accordion-header\"><button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseTwo\" aria-expanded=\"false\" aria-controls=\"collapseTwo\"><br \/>\nIs M-PESA API cross-platform compatible?<br \/>\n<\/button><\/p>\n<div id=\"collapseTwo\" class=\"accordion-collapse collapse\" aria-labelledby=\"headingTwo\" data-bs-parent=\"#accordionExample\">\n<div class=\"accordion-body\">Yes, the M-PESA API is compatible with multiple platforms and can be used with both Android and iOS platforms.<\/div>\n<\/div>\n<\/div>\n<p><!-- FAQ 3 --><\/p>\n<div class=\"accordion-item\">\n<p id=\"headingThree\" class=\"accordion-header\"><button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseThree\" aria-expanded=\"false\" aria-controls=\"collapseThree\"><br \/>\nWhat types of M-PESA APIs are available for integration?<br \/>\n<\/button><\/p>\n<div id=\"collapseThree\" class=\"accordion-collapse collapse\" aria-labelledby=\"headingThree\" data-bs-parent=\"#accordionExample\">\n<div class=\"accordion-body\">The M-PESA API covers multiple endpoints such as Account Balance API, Payment (Collection) API, Transaction Status API, and others for various payment workflows.<\/div>\n<\/div>\n<\/div>\n<p><!-- FAQ 4 --><\/p>\n<div class=\"accordion-item\">\n<p id=\"headingFour\" class=\"accordion-header\"><button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseFour\" aria-expanded=\"false\" aria-controls=\"collapseFour\"><br \/>\nWho can help me integrate the M-PESA API?<br \/>\n<\/button><\/p>\n<div id=\"collapseFour\" class=\"accordion-collapse collapse\" aria-labelledby=\"headingFour\" data-bs-parent=\"#accordionExample\">\n<div class=\"accordion-body\">Nimble AppGenie is a reliable option if you want assistance with M-PESA API integration for your platform.<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Mobile payments and fintech apps have made their way to every corner of the world. For every continent, every region, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":50376,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3224],"tags":[],"class_list":["post-50343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fintech"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>M-PESA API Integration: Steps, Benefits &amp; Challenges<\/title>\n<meta name=\"description\" content=\"Read our guide on how to use the M-PESA API to help you integrate advanced payment options that add to the convenience of your customers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/posts\/50343\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"M-PESA API Integration: Steps, Benefits &amp; Challenges\" \/>\n<meta property=\"og:description\" content=\"Read our guide on how to use the M-PESA API to help you integrate advanced payment options that add to the convenience of your customers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/\" \/>\n<meta property=\"og:site_name\" content=\"nimbleappgenie\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/nimbleappgenielondon\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-27T13:33:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-27T13:36:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Social-Post-How-To-Integrate-MPESA-Daraja-API-In-Mobile-App-Development-2.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Niketan Sharma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nimbleappgenie\" \/>\n<meta name=\"twitter:site\" content=\"@NimbleAppGenie\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Niketan Sharma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/\"},\"author\":{\"name\":\"Niketan Sharma\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/person\/dc7db7dbfd08b8ae9e3852f509526537\"},\"headline\":\"How To Integrate MPESA (Daraja) API In Mobile App Development?\",\"datePublished\":\"2025-10-27T13:33:14+00:00\",\"dateModified\":\"2025-10-27T13:36:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/\"},\"wordCount\":2243,\"publisher\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp\",\"articleSection\":[\"Fintech\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/\",\"url\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/\",\"name\":\"M-PESA API Integration: Steps, Benefits & Challenges\",\"isPartOf\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp\",\"datePublished\":\"2025-10-27T13:33:14+00:00\",\"dateModified\":\"2025-10-27T13:36:43+00:00\",\"description\":\"Read our guide on how to use the M-PESA API to help you integrate advanced payment options that add to the convenience of your customers.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage\",\"url\":\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp\",\"contentUrl\":\"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp\",\"width\":1200,\"height\":628,\"caption\":\"How to Integrate M-PESA API?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.nimbleappgenie.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Integrate MPESA (Daraja) API In Mobile App Development?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#website\",\"url\":\"https:\/\/www.nimbleappgenie.com\/blogs\/\",\"name\":\"nimbleappgenie\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.nimbleappgenie.com\/blogs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#organization\",\"name\":\"Nimble AppGenie\",\"url\":\"https:\/\/www.nimbleappgenie.com\/blogs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/logo\/image\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Nimble AppGenie\"},\"image\":{\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/nimbleappgenielondon\",\"https:\/\/x.com\/NimbleAppGenie\",\"https:\/\/www.instagram.com\/nimbleappgenie\/\",\"https:\/\/www.linkedin.com\/company\/nimble-appgenie\",\"https:\/\/www.pinterest.co.uk\/nimbleappgenie1\/\",\"https:\/\/www.youtube.com\/@nimbleappgenie\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/person\/dc7db7dbfd08b8ae9e3852f509526537\",\"name\":\"Niketan Sharma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4c09d826e38ed71b0f4ae508dcb95c66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4c09d826e38ed71b0f4ae508dcb95c66?s=96&d=mm&r=g\",\"caption\":\"Niketan Sharma\"},\"description\":\"Niketan Sharma, CTO, Nimble AppGenie, is a tech enthusiast with more than a decade of experience in delivering high-value solutions that allow a brand to penetrate the market easily. With a strong hold on mobile app development, he is actively working to help businesses identify the potential of digital transformation by sharing insightful statistics, guides &amp; blogs.\",\"sameAs\":[\"https:\/\/x.com\/nimbleappgenie\"],\"url\":\"https:\/\/www.nimbleappgenie.com\/blogs\/author\/nimbleappgenie\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"M-PESA API Integration: Steps, Benefits & Challenges","description":"Read our guide on how to use the M-PESA API to help you integrate advanced payment options that add to the convenience of your customers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/posts\/50343","og_locale":"en_GB","og_type":"article","og_title":"M-PESA API Integration: Steps, Benefits & Challenges","og_description":"Read our guide on how to use the M-PESA API to help you integrate advanced payment options that add to the convenience of your customers.","og_url":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/","og_site_name":"nimbleappgenie","article_publisher":"https:\/\/www.facebook.com\/nimbleappgenielondon","article_published_time":"2025-10-27T13:33:14+00:00","article_modified_time":"2025-10-27T13:36:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Social-Post-How-To-Integrate-MPESA-Daraja-API-In-Mobile-App-Development-2.webp","type":"image\/webp"}],"author":"Niketan Sharma","twitter_card":"summary_large_image","twitter_creator":"@nimbleappgenie","twitter_site":"@NimbleAppGenie","twitter_misc":{"Written by":"Niketan Sharma","Estimated reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#article","isPartOf":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/"},"author":{"name":"Niketan Sharma","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/person\/dc7db7dbfd08b8ae9e3852f509526537"},"headline":"How To Integrate MPESA (Daraja) API In Mobile App Development?","datePublished":"2025-10-27T13:33:14+00:00","dateModified":"2025-10-27T13:36:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/"},"wordCount":2243,"publisher":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp","articleSection":["Fintech"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/","url":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/","name":"M-PESA API Integration: Steps, Benefits & Challenges","isPartOf":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage"},"image":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp","datePublished":"2025-10-27T13:33:14+00:00","dateModified":"2025-10-27T13:36:43+00:00","description":"Read our guide on how to use the M-PESA API to help you integrate advanced payment options that add to the convenience of your customers.","breadcrumb":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#primaryimage","url":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp","contentUrl":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-content\/uploads\/2025\/10\/Feature-Image.webp","width":1200,"height":628,"caption":"How to Integrate M-PESA API?"},{"@type":"BreadcrumbList","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/how-to-integrate-m-pesa-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.nimbleappgenie.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"How To Integrate MPESA (Daraja) API In Mobile App Development?"}]},{"@type":"WebSite","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#website","url":"https:\/\/www.nimbleappgenie.com\/blogs\/","name":"nimbleappgenie","description":"","publisher":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.nimbleappgenie.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#organization","name":"Nimble AppGenie","url":"https:\/\/www.nimbleappgenie.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"Nimble AppGenie"},"image":{"@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/nimbleappgenielondon","https:\/\/x.com\/NimbleAppGenie","https:\/\/www.instagram.com\/nimbleappgenie\/","https:\/\/www.linkedin.com\/company\/nimble-appgenie","https:\/\/www.pinterest.co.uk\/nimbleappgenie1\/","https:\/\/www.youtube.com\/@nimbleappgenie"]},{"@type":"Person","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/person\/dc7db7dbfd08b8ae9e3852f509526537","name":"Niketan Sharma","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.nimbleappgenie.com\/blogs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4c09d826e38ed71b0f4ae508dcb95c66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4c09d826e38ed71b0f4ae508dcb95c66?s=96&d=mm&r=g","caption":"Niketan Sharma"},"description":"Niketan Sharma, CTO, Nimble AppGenie, is a tech enthusiast with more than a decade of experience in delivering high-value solutions that allow a brand to penetrate the market easily. With a strong hold on mobile app development, he is actively working to help businesses identify the potential of digital transformation by sharing insightful statistics, guides &amp; blogs.","sameAs":["https:\/\/x.com\/nimbleappgenie"],"url":"https:\/\/www.nimbleappgenie.com\/blogs\/author\/nimbleappgenie\/"}]}},"_links":{"self":[{"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/posts\/50343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/comments?post=50343"}],"version-history":[{"count":7,"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/posts\/50343\/revisions"}],"predecessor-version":[{"id":50398,"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/posts\/50343\/revisions\/50398"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/media\/50376"}],"wp:attachment":[{"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/media?parent=50343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/categories?post=50343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nimbleappgenie.com\/blogs\/wp-json\/wp\/v2\/tags?post=50343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}