{"id":15008677,"url":"https://github.com/komuw/zakah","last_synced_at":"2026-02-09T03:31:51.494Z","repository":{"id":62458603,"uuid":"135183375","full_name":"komuw/zakah","owner":"komuw","description":"Zakah is a client library for safaricom's Mpesa API.","archived":false,"fork":false,"pushed_at":"2021-03-03T20:41:55.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-11T14:51:17.743Z","etag":null,"topics":["dart","dartlang","flutter","mpesa","mpesa-android","mpesa-api","mpesa-sdk","mpesapi"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/komuw.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-28T16:12:10.000Z","updated_at":"2021-03-03T20:41:57.000Z","dependencies_parsed_at":"2022-11-02T00:32:09.854Z","dependency_job_id":null,"html_url":"https://github.com/komuw/zakah","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/komuw/zakah","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komuw%2Fzakah","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komuw%2Fzakah/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komuw%2Fzakah/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komuw%2Fzakah/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/komuw","download_url":"https://codeload.github.com/komuw/zakah/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komuw%2Fzakah/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29255602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T03:07:45.136Z","status":"ssl_error","status_checked_at":"2026-02-09T03:07:24.123Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dart","dartlang","flutter","mpesa","mpesa-android","mpesa-api","mpesa-sdk","mpesapi"],"created_at":"2024-09-24T19:19:59.122Z","updated_at":"2026-02-09T03:31:51.481Z","avatar_url":"https://github.com/komuw.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Zakah          \n\n[![CircleCI](https://circleci.com/gh/komuw/zakah.svg?style=svg)](https://circleci.com/gh/komuw/zakah)\n\nZakah is a client library for safaricom's Mpesa API.           \nIt's name is derived from Kenyan hip hop artiste, Zakah.                        \nIt allows you to integrate with [safaricom mpesa API.](https://developer.safaricom.co.ke/)       \n\nIt's currently work in progress, API will remain unstable for sometime.\n\n\n\u003e MPesa is a mobile phone-based money transfer, financing and microfinancing service, operated by Safaricom, the largest mobile network operator in Kenya. It has since expanded to other countries.        \nMPesa allows users to deposit, withdraw, transfer money and pay for goods and services easily with a mobile device. - https://en.wikipedia.org/wiki/M-Pesa\n\n\n\n## Installation\nadd the following to your `pubspec.yaml` file;\n```shell\ndependencies:\n  zakah: \u003c1.0.0\n```\nthen run;\n```shell\npub get\n```             \nor with flutter;\n```shell\nflutter packages get\n```\nnow, in your Dart code, you can use:\n```shell\nimport 'package:zakah/zakah.dart';\n```\n\nthis lib is also available at [Pub package repository](https://pub.dartlang.org/packages/zakah)    \n\n## Usage\n\n```dart\nimport 'dart:async';\nimport 'package:zakah/zakah.dart' as zakah;\n\nFuture\u003cvoid\u003e main() async {\n  var m = new zakah.Mpesa('ConsumerKey', 'ConsumerSecret');\n  Map b2cResult = await m.b2c(\n      \"apitest390\",\n      \"SecurityCredential\",\n      zakah.CommandID[\"BusinessPayment\"],\n      300,\n      \"601390\",\n      \"254708374149\",\n      \"some remaks\",\n      Uri.parse(\"https://www.google.com\"),\n      Uri.parse(\"https://www.google.com\"),\n      occasion: \"some occasion\");\n\n  print(\"final b2cResult::\");\n  print(b2cResult);\n}\n```\n\n\n## Features\n- todo\n\n## Development setup\n- fork this repo.\n- you need to have dart version2 installed.\n- open an issue on this repo. In your issue, outline what it is you want to add and why.              \n- make the changes you want on your fork.\n- your changes should have backward compatibility in mind unless it is impossible to do so.\n- add tests\n- format your code using [dartfmt](https://github.com/dart-lang/dart_style):                      \n```shell\ndartfmt --overwrite --profile --follow-links .\n```\n- run tests and make sure everything is passing:\n```shell\npub run test .\n```\n- open a pull request on this repo.               \nNB: I make no commitment of accepting your pull requests.                \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomuw%2Fzakah","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkomuw%2Fzakah","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomuw%2Fzakah/lists"}