This is a Ruby client for the Afterbanks' PSD2 API
Install the gem (gem install afterbanks-psd2-api-ruby) or include it in your Gemfile and bundle.
Just set the service key by doing this:
AfterbanksPSD2.servicekey = 'yourservicekey'Or, if you use it in a Rails application, create an initializer with this content:
require 'afterbanks_psd2'
AfterbanksPSD2.configure do |config|
config.servicekey = 'yourservicekey'
endYou can set a logger as well.
- 0.1.2 Add AccountNotFoundError (need for Revolut rules changes)
- 0.1.1 Fix options parameters to ensure not null and check other parameters on Transaction.list
- 0.1.0 First full version, including resource wrapping (banks, user, accounts, transactions), error coverage and support for logging
- Full usage for each resource
- Proper explanation of the
AfterbanksPSD2:Errorand its subclasses
1-> GenericError50-> IncorrectParametersError (When call API)C000-> GenericConsentErrorC001-> InvalidConsentErrorC002-> ConsentWithUnfinalizedProcessErrorC003-> ProductMismatchConsentErrorC004-> ExpiredConsentErrorC005-> MaximumNumberOfCallsReachedConsentErrorT000-> GenericTransactionErrorT001-> InvalidConsentForProductErrorP000-> AccountNotFoundError