{"id":14955845,"url":"https://github.com/mkhairi/billplz-api","last_synced_at":"2025-10-08T18:29:53.317Z","repository":{"id":62554220,"uuid":"73282017","full_name":"mkhairi/billplz-api","owner":"mkhairi","description":"billplz api for ruby","archived":false,"fork":false,"pushed_at":"2018-08-18T23:02:39.000Z","size":18,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-06T15:24:31.294Z","etag":null,"topics":["billplz","gem","rails","ruby","rubygem","rubyonrails"],"latest_commit_sha":null,"homepage":null,"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/mkhairi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-09T12:26:06.000Z","updated_at":"2023-03-04T08:52:47.000Z","dependencies_parsed_at":"2022-11-03T05:00:26.072Z","dependency_job_id":null,"html_url":"https://github.com/mkhairi/billplz-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkhairi/billplz-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fbillplz-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fbillplz-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fbillplz-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fbillplz-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkhairi","download_url":"https://codeload.github.com/mkhairi/billplz-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fbillplz-api/sbom","scorecard":{"id":652470,"data":{"date":"2025-08-11","repo":{"name":"github.com/mkhairi/billplz-api","commit":"7bd2963e13882617ca425b8de4e6f3a87cd351da"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T13:49:38.890Z","repository_id":62554220,"created_at":"2025-08-21T13:49:38.890Z","updated_at":"2025-08-21T13:49:38.890Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278579211,"owners_count":26009966,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["billplz","gem","rails","ruby","rubygem","rubyonrails"],"created_at":"2024-09-24T13:11:53.644Z","updated_at":"2025-10-06T08:32:22.541Z","avatar_url":"https://github.com/mkhairi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Billplz [![Gem Version](https://badge.fury.io/rb/billplz-api.svg)](http://badge.fury.io/rb/billplz-api)\n\n[Billplz-API](https://www.billplz.com/api) Client API for ruby\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'billplz-api'\n```\n\nAnd then execute:\n\n```\n$ bundle\n```\n\nOr manually install\n\n```\n$ gem install billplz-api\n```\n\n## Configuration\nYou need to store your Billplz configuration setting in billplz.rb\n```ruby\n# config/initializers/billplz.rb\nBillplz.configure do |config|\n  config.api_key = ENV['API_KEY_BILLPLZ']\n  config.api_url = ENV['API_URL_BILLPLZ'] \n  #staging api url     https://billplz-staging.herokuapp.com/api/v3\n  #production api url  https://www.billplz.com/\nend\n```\n\n## Usage\n### Collection\n\n**Get collections**\n```ruby\ncollections = Billplz::Collection.all\n#or\ncollections = Billplz::Collection.all(page: 1)\n```\n\n**Get a collection**\n```ruby\ncollection = Billplz::Collection.find(id: \"0pp87t_6\")\n```\n\n**Create a collection**\n```ruby\ncollection = Billplz::Collection.create(title: \"Billplz Testing Collection\")\n# {  \"id\": \"inbmmepb\", \"title\": \"Billplz Testing Collection\"}\n#get data from collection \ncollection.id # \"inbmmepb\"\ncollection.title # \"Billplz Testing Collection\"\n#or \ncollection['id'] # \"inbmmepb\"\ncollection['title'] # \"Billplz Testing Collection\"\n```\n\n**Deactivate a collection**\n```ruby\ncollection = Billplz::Collection.deactivate(id: \"alocpanfu\")\n```\n\n**Activate a collection**\n```ruby\ncollection = Billplz::Collection.activate(id: \"alocpanfu\")\n```\n\n### Open Collection\n\n**Get open collections**\n```ruby\nopen_collections = Billplz::OpenCollection.all\n#or \nopen_collections = Billplz::OpenCollection.all(page: 2)\n```\n\n**Create an open collection**\n```ruby\nopen_collection = Billplz::OpenCollection.create(title: \"Billplz Testing Collection\", description: \"Membayar Zakat merupakan kewajiban semua umat Islam bagi yang mampu.\", amount: 299)\n```\n\n**Get an open collection**\n```ruby\nopen_collection = Billplz::OpenCollection.find(id: \"0pp87t_6\")\n```\n\n### Bill\n\n**Create a bill**\n```ruby\nbill = Billplz::Bill.create(collection_id: \"ajij091j\", email: \"admin@billplz.com\", name:\"Admin BillPlz\", amount: 200, callback_url: \"billplz.com\", description: \"Shopping Items\")\n```\n\n**Find a bill**\n```ruby\nbill = Billplz::Bill.find(id: \"arutnv89\")\n```\n\n**Delete a bill**\n```ruby\nbill = Billplz::Bill.delete(id: \"arutnv89\")\n```\n\n**Get transactions of a bill**\n```ruby\ntransactions = Billplz::Bill.transactions(bill_id: \"arutnv89\")\n```\n\n### Registration Check\n\nEnter bank account number\n```ruby\nregistration_check = Billplz::Registration.check(account_number: \"123465782312\")\n```\n\n\n## Contributing\n\nBug reports and pull requests are welcome .\n\n1. Fork it\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create new Pull Request\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkhairi%2Fbillplz-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkhairi%2Fbillplz-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkhairi%2Fbillplz-api/lists"}