Skip to content

kkiapay/ruby-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KKIAPAY RUBY-SDK

Installing

Using npm:

    $ gem install kkiapay

Initialization

require "kkiapay"

sandbox = false
# setup your api key (https://www.kkiapay.me)
k = Kkiapay.new('your_public_key', 'your_private_key', 'your_secret_key', sandbox)

Request to retrieve transactions

EXAMPLE

# Request to retrieve transactions
result = k.verify_transaction('transaction_id')
puts result

Request to revert transaction

EXAMPLE

# Request to retrieve transactions
result = k.refund_transaction('transaction_id')
puts result

Releases

No releases published

Packages

No packages published

Languages