Hydrogen Integration API
Hydrogen Integration API
Documentation
https://www.hydrogenplatform.com/docs/integration/v1
Requirements
- Ruby 2.7+
Installation
Install via Ruby Gems
Install the gem:
gem install hydrogen-integration-api
The add this to the Gemfile:
gem 'hydrogen-integration-api', '~> 1.3', '>= 1.3.1'
Getting Started
Please first follow the installation instructions. Then make sure you use the proper base URL:
Base URL
Create an object of Environment and use the set_environment method to update the environment.
Sandbox URL
environment_config = IntegrationApi::Environment.new
environment_config.set_environment(environment_config.SANDBOX)
Production URL
environment_config = IntegrationApi::Environment.new
environment_config.set_environment(environment_config.PRODUCTION)
require 'integration_api'
environment_config = IntegrationApi::Environment.new
environment_config.set_environment(environment_config.PRODUCTION)
IntegrationApi.configure do |config|
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN")
end
api_instance = IntegrationApi::ACHApi.new
nucleus_funding_id = 'nucleus_funding_id_example'
begin
result = api_instance.cancel_ach_transfer_using_delete(nucleus_funding_id)
p result
rescue IntegrationApi::ApiError => e
puts "Exception when calling ACHApi->cancel_ach_transfer_using_delete: #{e}"
end
Author
The Hydrogen Technology Corporation
https://www.hydrogenplatform.com
Generated using Swagger Codegen