{"id":21959292,"url":"https://github.com/1d3o/satispay","last_synced_at":"2026-04-28T23:06:30.879Z","repository":{"id":56894330,"uuid":"93069844","full_name":"1d3o/satispay","owner":"1d3o","description":"Unofficial Satispay API for Ruby","archived":false,"fork":false,"pushed_at":"2018-04-26T10:40:23.000Z","size":352,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T01:16:30.118Z","etag":null,"topics":["gem","payments","ruby","ruby-satispay","rubygem","satispay"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/1d3o.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-01T15:05:37.000Z","updated_at":"2023-08-16T02:10:16.000Z","dependencies_parsed_at":"2022-08-20T17:10:12.814Z","dependency_job_id":null,"html_url":"https://github.com/1d3o/satispay","commit_stats":null,"previous_names":["ideonetwork/ruby-satispay"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1d3o%2Fsatispay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1d3o%2Fsatispay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1d3o%2Fsatispay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1d3o%2Fsatispay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1d3o","download_url":"https://codeload.github.com/1d3o/satispay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013996,"owners_count":20547181,"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":["gem","payments","ruby","ruby-satispay","rubygem","satispay"],"created_at":"2024-11-29T09:27:29.334Z","updated_at":"2026-04-28T23:06:25.834Z","avatar_url":"https://github.com/1d3o.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Satispay Ruby API\n\n[![Gem Version](https://badge.fury.io/rb/satispay.svg)](https://badge.fury.io/rb/satispay)\n\n## Installation\n\nTo use the gem you need to add it on your Gemfile\n\nLatest version\n```ruby\ngem 'satispay', git: 'https://github.com/ideonetwork/satispay'\n```\n\nLegacy version\n```ruby\ngem 'satispay'\n```\n\n## Usage\n\nTo use the API you need to initialize a new instance\n\n```ruby\nsatispay = Satispay::Api.new(env, security_bearer)\n\n# NB: env sholud be 'prod' or 'staging'\n```\n\n### Check bearer\n\nAllow application to check if bearer is valid.\n\n```ruby\nresponse = satispay.check_bearer\n```\n\n### Get all users\n\n```ruby\nresponse = satispay.all_users(*extra_params)\n```\n\nFor extra params info watch the official documentation: https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#get-a-user-list\n\n### Create new user\n\n```ruby\nresponse = satispay.create_user(phone_number: user_phone_number, *extra_params)\n```\n\nFor extra params info watch the official documentation: https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#create-a-user\n\n### Get user\n\n```ruby\nresponse = satispay.get_user(user_id: user_satispay_id)\n```\n\n### Get all chanrges\n\n```ruby\nresponse = satispay.all_charges(*extra_params)\n```\n\nFor extra params info watch the official documentation: https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#get-a-charge-list\n\n### Create new charges\n\n```ruby\nresponse = satispay.create_charge(user_id: user_id, currency: 'EUR', amount: 100, *extra_params)\n```\n\nFor extra params info watch the official documentation: \nhttps://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#create-a-charge\n\n### Get charge\n\n```ruby\nresponse = satispay.get_charge(charge_id: charge_id)\n```\n\n### Update charge\n\n\n```ruby\nresponse = satispay.update_charge(charge_id: charge_id, *extra_params)\n```\n\nFor extra params info watch the official documentation: \nhttps://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#update-a-charge\n\n### Get all refunds\n\n```ruby\nresponse = satispay.all_refunds(*extra_params)\n```\n\nFor extra params info watch the official documentation: https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#get-a-refunds-list\n\n## Development\n\n### RDoc documentation\n\nTo update the rdoc documentation run:\n\n```console\nrdoc --op rdoc\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1d3o%2Fsatispay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1d3o%2Fsatispay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1d3o%2Fsatispay/lists"}