{"id":140734,"date":"2026-07-20T14:01:00","date_gmt":"2026-07-20T14:01:00","guid":{"rendered":"https:\/\/docs.daftra.com\/?post_type=tutorial&#038;p=140734"},"modified":"2026-07-20T14:03:33","modified_gmt":"2026-07-20T14:03:33","slug":"updating-m-pesa-credentials-after-setup","status":"publish","type":"tutorial","link":"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/","title":{"rendered":"Updating M-PESA Credentials After Setup"},"content":{"rendered":"<p>You can update your Daraja credentials at any time after the initial setup, whether after changing your app credentials in the Daraja portal or switching from the sandbox environment to production.<\/p>\n<p><strong>Before You Begin<\/strong><\/p>\n<p>Make sure you have the <strong>&#8220;Edit Payment Options&#8221;<\/strong> permission to access M-PESA settings. Users without this permission will not see the Payment Methods menu item.<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p><em><strong>Note: M-PESA is available only for accounts where Kenya is configured as the account country.\u00a0<\/strong><\/em><\/p><\/blockquote>\n","protected":false},"author":23,"featured_media":0,"template":"","categories":[2068],"tags":[],"class_list":["post-140734","tutorial","type-tutorial","status-publish","hentry","category-payment-methods"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Updating M-PESA Credentials After Setup - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updating M-PESA Credentials After Setup - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"You can update your Daraja credentials at any time after the initial setup, whether after changing your app credentials in the Daraja portal or switching from the sandbox environment to production. Before You Begin Make sure you have the &#8220;Edit Payment Options&#8221; permission to access M-PESA settings. Users without this permission will not see the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-20T14:03:33+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/\",\"name\":\"Updating M-PESA Credentials After Setup - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-07-20T14:01:00+00:00\",\"dateModified\":\"2026-07-20T14:03:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Updating M-PESA Credentials After Setup\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Updating M-PESA Credentials After Setup - Daftra Knowledge Base","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:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/","og_locale":"en_US","og_type":"article","og_title":"Updating M-PESA Credentials After Setup - Daftra Knowledge Base","og_description":"You can update your Daraja credentials at any time after the initial setup, whether after changing your app credentials in the Daraja portal or switching from the sandbox environment to production. Before You Begin Make sure you have the &#8220;Edit Payment Options&#8221; permission to access M-PESA settings. Users without this permission will not see the [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-07-20T14:03:33+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/#webpage","url":"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/","name":"Updating M-PESA Credentials After Setup - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-07-20T14:01:00+00:00","dateModified":"2026-07-20T14:03:33+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/updating-m-pesa-credentials-after-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Updating M-PESA Credentials After Setup"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/140734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/23"}],"version-history":[{"count":1,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/140734\/revisions"}],"predecessor-version":[{"id":140735,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/140734\/revisions\/140735"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=140734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=140734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=140734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}