{"id":22478036,"url":"https://github.com/jumaallan/android-mpesa-api","last_synced_at":"2025-04-05T08:06:55.243Z","repository":{"id":37258481,"uuid":"129439423","full_name":"jumaallan/android-mpesa-api","owner":"jumaallan","description":"Android MPESA SDK Library to provide smooth MPESA Experience in Android - Dubbed Daraja","archived":false,"fork":false,"pushed_at":"2024-08-01T23:24:04.000Z","size":1745,"stargazers_count":200,"open_issues_count":9,"forks_count":189,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-29T07:06:42.085Z","etag":null,"topics":["android","android-library","daraja","daraja-api","daraja-mpesa","mpesa","mpesa-android","mpesa-api","mpesa-sdk"],"latest_commit_sha":null,"homepage":"https://androidstudy.com","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jumaallan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-13T18:26:19.000Z","updated_at":"2025-02-13T08:13:59.000Z","dependencies_parsed_at":"2023-02-10T21:31:11.081Z","dependency_job_id":"f3fd1446-e1b2-47b3-93df-7dee5bf9e06b","html_url":"https://github.com/jumaallan/android-mpesa-api","commit_stats":{"total_commits":259,"total_committers":12,"mean_commits":"21.583333333333332","dds":0.3436293436293436,"last_synced_commit":"33cbf71d07df85e8584bc4dcd0f151a88d694868"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaallan%2Fandroid-mpesa-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaallan%2Fandroid-mpesa-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaallan%2Fandroid-mpesa-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaallan%2Fandroid-mpesa-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jumaallan","download_url":"https://codeload.github.com/jumaallan/android-mpesa-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305934,"owners_count":20917208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","daraja","daraja-api","daraja-mpesa","mpesa","mpesa-android","mpesa-api","mpesa-sdk"],"created_at":"2024-12-06T14:13:08.223Z","updated_at":"2025-04-05T08:06:55.212Z","avatar_url":"https://github.com/jumaallan.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android M-Pesa Daraja SDK\n\nThis is a simple Android M-PESA SDK to allow you to integrate Safaricom M-PESA API dubbed ***Daraja*** in your Android App with ease without knowing a thing. It’s easy. I promise. :rocket:\n\n\u003e This version only offers the MPESA Express (STKPush) Support.\n\n## Download\n\nDaraja available for download on `mavenCentral()`\n\nKotlin\n\n```kotlin\ndependencies {\n    implementation(\"com.androidstudy.daraja:daraja:2.0.2\")\n}\n```\n\nGroovy\n\n```groovy\ndependencies {\n    implementation 'com.androidstudy.daraja:daraja:2.0.2'\n}\n```\n\n## Quick Start\n\nWIP - need to be updated\n\n\n## Requirements\n\n* AndroidX\n* Min SDK 14+\n* Java 8+\n\n## Lipa na M-Pesa Online Payment API\n\nThe following table highlights the requirements needed by Daraja, as described in the [Safaricom Developer API Page](https://developer.safaricom.co.ke/lipa-na-m-pesa-online/apis/post/stkpush/v1/processrequest)\n\n| Name                  | Description           | Parameter Type    | Possible Values |\n| -------------         |:--------------------: | ----------------: | ---------------:|\n| BusinessShortCode     | The organization shortcode used to receive the transaction        | Numeric             | Shortcode (6 digits)           |\n| Passkey     | Lipa Na Mpesa Online PassKey       | Alpha-Numeric              |           | \n| Amount     | The amount to be transacted      | Numeric             | 100           |\n| PhoneNumber     | The MSISDN sending the funds        | Numeric             | MSISDN (12 digits)          |\n| CallBackURL     | Call Back URL        | URL             | https://ip or domain:port/path           |\n| AccountReference     | Account Reference        | Alpha-Numeric\t             | Any combinations of letters and numbers |\n| TransactionDesc     | Description of the transaction        | String             | any string of less then 20 characters          |\n\n\u003e Get the Pass Key Here : https://developer.safaricom.co.ke/test_credentials\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumaallan%2Fandroid-mpesa-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjumaallan%2Fandroid-mpesa-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumaallan%2Fandroid-mpesa-api/lists"}