class

N2y::Nordigen

Inherits Habitat::SettingsHelpers < Habitat::TempConfig < Reference < Object

Constants

DENIED_MAPPING = {"/api/v2/token/refresh/" => InvalidRefreshToken, "/api/v2/token/new/" => InvalidCreds}
HABITAT_SETTINGS = [{decl: secret_id : String, example: nil, validation: nil}, {decl: secret : String, example: nil, validation: nil}] of Nil

Constructors

new(token_pair : N2y::TokenPair = N2y::TokenPair.new)
Source

Class methods

configure
Source
settings
Source

Instance methods

accounts(requisition_id : String)
Source
create_requisition(bank_id : String, redirect_uri : URI, reference : String) : Tuple(String, URI)
Source
get(path : String, *, data = nil, query = nil, class klass : Responses.class)

Make a GET request at Nordigen.

Source
get_banks(lang : String)

Returns known banks.

Source
post(path : String, *, data = nil, query = nil, class klass : Responses.class)

Make a POST request at Nordigen.

Source
request(method : String, path : String, *, query = nil, data = nil, class klass : Responses.class)

Make request to Nordigen.

Source
settings
Source
transactions(account_id : String, *, from : Time | Nil = nil, to : Time | Nil = nil)
Source

Nested types