🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

payment-highway

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

payment-highway

bundlerRubyGems.org
Version
0.1.1
Version published
Maintainers
1
Created
Source

Payment Highway Ruby Library

This gem is ruby api client for Payment Highway

Examples

Batch Report fetching

You can find this in api documentation too: https://dev.paymenthighway.io/#daily-batch-report

config = PaymentHighway::Config.new(
  account: 'test',
  merchant: 'test_merchantId',
  key: 'testKey',
  secret: 'testSecret',
   # Testing environment, remove this to use production
  service: 'https://v1-hub-staging.sph-test-solinor.com'
)

report = PaymentHighway::BatchReport.new(
  config: config,
  date: Date.today
)

puts report.settlements.inspect

TODO

Currently only batch reports are working

License

MIT

FAQs

Package last updated on 21 Dec 2018

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