Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

satispay

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

satispay

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Satispay Ruby API

Usage

To use the API you need to initialize a new instance

satispay = Satispay.new(env, security_bearer)

# NB: env sholud be 'prod' or 'staging'

Check bearer

Allow application to check if bearer is valid.

response = satispay.check_bearer

Get all users

response = satispay.all_users(*extra_params)

Create new user

response = satispay.create_user(phone_number: user_phone_number, *extra_params)

Get user

response = satispay.get_user(user_id: user_satispay_id)

Get all chanrges

response = satispay.all_charges(*extra_params)

Create new charges

response = satispay.create_charge(user_id: user_id, currency: 'EUR', amount: 100, *extra_params)

Get charge

response = satispay.get_charge(charge_id: charge_id)

Update charge

response = satispay.update_charge(charge_id: charge_id, *extra_params)

Get all refunds

response = satispay.all_refunds(*extra_params)

FAQs

Package last updated on 03 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc