Skip to content

harmaty/epayments_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages