DFCAPI for Ruby Build Status

The DFC API is a Restful API which has been built to facilitate the ability to Setup/Ammend/Cancel & View Direct Debits with Debit Finance Collections Plc

Installing

Requirements: Ruby >= 2.0

To utilize the DFC API Client Library, install the dfcapi gem:

gem install dfcapi

After installing the gem package you can now begin to simplifying requests by requiring dfcapi:

require 'dfcapi'

Checking API Credentials

In order to validate your API Credentials against our API, call the checkApiKey method:

dfcapi_check = Dfcapi.checkApiKey('TEST-TEST-TEST-TEST', 'a94a8fe5ccb19ba61c4c0873d391e987982fbbd3')

dfcapi_check # API Credential Check Response (true or false)


Thanks

Thanks go out to: