{"id":23856503,"url":"https://github.com/ochiengotieno304/stanbic-ruby","last_synced_at":"2025-06-14T05:33:36.646Z","repository":{"id":64196078,"uuid":"570416930","full_name":"ochiengotieno304/stanbic-ruby","owner":"ochiengotieno304","description":"Unofficial Stanbic Kilele Payments Ruby Client","archived":false,"fork":false,"pushed_at":"2023-09-11T01:13:25.000Z","size":39,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T14:57:33.940Z","etag":null,"topics":["api-wrapper","payments","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/stanbic","language":"Ruby","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/ochiengotieno304.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"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,"zenodo":null}},"created_at":"2022-11-25T06:15:21.000Z","updated_at":"2023-11-06T21:33:35.000Z","dependencies_parsed_at":"2023-07-19T17:51:53.250Z","dependency_job_id":"b33dd931-d33a-43f4-be20-429de7a618fd","html_url":"https://github.com/ochiengotieno304/stanbic-ruby","commit_stats":null,"previous_names":["ochiengotieno304/stanbic-api-ruby-wrapper"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ochiengotieno304/stanbic-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochiengotieno304%2Fstanbic-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochiengotieno304%2Fstanbic-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochiengotieno304%2Fstanbic-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochiengotieno304%2Fstanbic-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ochiengotieno304","download_url":"https://codeload.github.com/ochiengotieno304/stanbic-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochiengotieno304%2Fstanbic-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259767525,"owners_count":22908196,"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":["api-wrapper","payments","ruby"],"created_at":"2025-01-03T01:41:25.436Z","updated_at":"2025-06-14T05:33:36.616Z","avatar_url":"https://github.com/ochiengotieno304.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stanbic\n\nStanbic Payment APIs ruby sdk\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    bundle add stanbic\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    gem install stanbic\n\n## Usage\n\n### Initialize Stanbic Client\n\n```ruby\nrequire \"stanbic\"\n@client = Stanbic::Client.new(api_key: ENV['STANBIC_API_KEY'], api_secret: ENV['STANBIC_API_SECRET'])\n```\n\nMake API calls using the @client object\n\n### Payments to Stanbic Accounts\n\n```ruby\nsend_to_stanbic = @client.stanbic_payments(to_account, amount)\n```\n\n- `to_account`: stanbic recipient account number`REQUIRED`\n- `amount`: amount to transact `REQUIRED`\n\n### Send Money to Mobile Money APIs\n\n```ruby\nmobile_transfer = @client.mobile_transfer(sender, receipient, amount, provider)\n```\n\n- `sender`: sender mobile number`REQUIRED`\n- `receipient`: receipient mobile number `REQUIRED`\n- `amount`: amount to transact `REQUIRED`\n- `provider`: mobile provider `REQUIRED`\n\n- providers :\n  - MPESA\n  - T-KASH\n  - AIRTEL MONEY\n\n### STK Push - M-Pesa Checkout\n\n```ruby\n  mpesa_checkout = @client.mpesa_checkout(mobile_number, amount, bill_account_ref)\n```\n\n- `mobile_number`: customer being charged mobile number`REQUIRED`\n- `amount`: amount being deducted from M-Pesa `REQUIRED`\n- `bill_account_ref`: Stanbic account recieveing the funds `REQUIRED`\n\n### Inter-Bank Transfers API via Pesalink\n\n\u003e **Note**\n\u003e To be implemented\n\n```ruby\ninter_bank_transfer = @client.inter_bank_transfer\n```\n\n- `to_account`: stanbic recipient account number`REQUIRED`\n- `amount`: amount to transact `REQUIRED`\n\n## Development\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at \u003chttps://github.com/ochiengotieno304/stanbic\u003e.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fochiengotieno304%2Fstanbic-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fochiengotieno304%2Fstanbic-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fochiengotieno304%2Fstanbic-ruby/lists"}