No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for epayments JSON and SOAP API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.5.0
 Project Readme

Ruby wrapper for epayments JSON and SOAP API

Installation

gem 'epayments_client'

Usage

   # Using JSON API
   client = Epa::Client.new 'username', 'password', :json, log: true

   # Using SOAP API
   client = Epa::Client.new 'client_id', 'password', :soap, log: true

   client.balance

   client.transfer_funds from: '000-111111',
                         to: '000-999999',
                         amount: 100,
                         currency: 'USD',
                         details: 'my payment',
                         secret_code: '123456'

   client.transaction_history from: 1.hour.ago, to: 1.hour.from_now