Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

afterbanks-psd2-api-ruby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

afterbanks-psd2-api-ruby

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Ruby client for the Afterbanks PSD2 API

CircleCI

This is a Ruby client for the Afterbanks' PSD2 API

Installation

Install the gem (gem install afterbanks-psd2-api-ruby) or include it in your Gemfile and bundle.

Configuration

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'
end

You can set a logger as well.

Changelog

  • 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

TODO

  • Full usage for each resource
  • Proper explanation of the AfterbanksPSD2:Error and its subclasses

List of Error

  • 1 -> GenericError
  • 50 -> IncorrectParametersError (When call API)
  • C000 -> GenericConsentError
  • C001 -> InvalidConsentError
  • C002 -> ConsentWithUnfinalizedProcessError
  • C003 -> ProductMismatchConsentError
  • C004 -> ExpiredConsentError
  • C005 -> MaximumNumberOfCallsReachedConsentError
  • T000 -> GenericTransactionError
  • T001 -> InvalidConsentForProductError
  • P000 -> AccountNotFoundError

About Afterbanks

FAQs

Package last updated on 11 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc