{"id":19856946,"url":"https://github.com/johnvuko/slimpay-client","last_synced_at":"2026-05-14T09:34:18.795Z","repository":{"id":56896146,"uuid":"153078186","full_name":"johnvuko/slimpay-client","owner":"johnvuko","description":"Ruby library for the Slimpay API","archived":false,"fork":false,"pushed_at":"2019-06-24T12:15:15.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T12:46:57.887Z","etag":null,"topics":["slimpay"],"latest_commit_sha":null,"homepage":"https://dev.slimpay.com/","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/johnvuko.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-10-15T08:25:21.000Z","updated_at":"2019-06-24T12:15:13.000Z","dependencies_parsed_at":"2022-08-21T00:50:54.376Z","dependency_job_id":null,"html_url":"https://github.com/johnvuko/slimpay-client","commit_stats":null,"previous_names":["johnvuko/slimpay-client"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fslimpay-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fslimpay-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fslimpay-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fslimpay-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnvuko","download_url":"https://codeload.github.com/johnvuko/slimpay-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241246111,"owners_count":19933299,"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":["slimpay"],"created_at":"2024-11-12T14:17:02.953Z","updated_at":"2026-05-14T09:34:18.760Z","avatar_url":"https://github.com/johnvuko.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slimpay\n\n[![Gem Version](https://badge.fury.io/rb/slimpay-client.svg)](http://badge.fury.io/rb/slimpay-client)\n\nThis library provides convenient access to the Slimpay API from applications written in the Ruby language.\n\n## Installation\n\nSlimpayClient is distributed as a gem, which is how it should be used in your app.\n\nInclude the gem in your Gemfile:\n\n    gem 'slimpay-client', '~\u003e 1.0'\n\n## Usage\n\n### Configuration\n\nIf you use Rails place this code in `config/initializers/slimpay.rb`:\n\n```ruby\nSlimpay.configure do |s|\n\ts.client_id = ENV[\"SLIMPAY_CLIENT_ID\"]\n\ts.client_secret = ENV[\"SLIMPAY_CLIENT_SECRET\"]\n\ts.creditor_reference = ENV[\"SLIMPAY_CREDITOR_REFERENCE\"]\n\ts.sandbox = !Rails.env.production?\n\ts.logger = Rails.logger\nend\n ```\n\n`creditor_reference` is not used inside the library, it's just a convenient way to store this variable and reuse it after in your code with `Slimpay.creditor_reference`.\n\nThe methods are dynamically created, the first call to `Slimpay.base` will call Slimpay API and generate a methods for each endpoints.\n\n### Example\n\n```ruby\nrecurrent_direct_debit = Slimpay.base.search_recurrent_direct_debits(reference: \"QWERTY1234\", activated: true).recurrentDirectDebits[0]\nrecurrent_direct_debit = Slimpay.base.get_recurrent_direct_debits(id: recurrent_direct_debit.data['id'])\nrecurrent_direct_debit.cancel_recurrent_debit\n```\n\n## Author\n\n- [Jonathan VUKOVICH TRIBOUHARET](https://github.com/jonathantribouharet) ([@johnvuko](https://twitter.com/johnvuko))\n\n## License\n\nThis gem is released under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fslimpay-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnvuko%2Fslimpay-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fslimpay-client/lists"}