All Projects → robinryden → swedbank-open-banking

robinryden / swedbank-open-banking

Licence: other
Go package for Swedbanks Open Banking API

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to swedbank-open-banking

Australian-Open-Banking-Data-Database
This is an ongoing collection of Open Banking Data APIs for Australian deposit taking institutions.
Stars: ✭ 72 (+380%)
Mutual labels:  open-banking
opendata-api-spec-compiled
Official Open Banking UK Open Data API specifications
Stars: ✭ 61 (+306.67%)
Mutual labels:  open-banking
SwedbankJson
Unofficial API client for the Swedbank's and Sparbankerna's mobile apps in Sweden.
Stars: ✭ 69 (+360%)
Mutual labels:  swedbank
Banklink
PHP payment library to easily integrate Baltic banklinks (supports old and new iPizza protocol), E-commerce gateaway (Estcard, Nets Estonia), Liisi Payment Link and Pocopay.
Stars: ✭ 34 (+126.67%)
Mutual labels:  swedbank
developer-resources
A list of useful links, our partners, as well as the stand out projects from the community
Stars: ✭ 86 (+473.33%)
Mutual labels:  open-banking

swedbank-open-banking

Go package for Swedbanks Open Banking API

Documentation from Swedbanks homepage

Swedbanks Open Banking page

Developer Documentation for Swedbank Open Banking Sandbox (BETA)

Good to know:

This is a work in progress package written in Go that uses the Swedbank Open Banking API. All feedback is appreciated!

Examples

Following examples are used inside Sandbox mode

Get all accounts from user

accounts, err := swedbank.GetAccounts(&swedbank.Accounts{
  "SANDSESS",
  true,
  "Thu, 01 Dec 1994 16:00:00 GMT",
  "12345SGHDF",
  "AZXS3456",
  "Bearer dummyToken",
})

if err != nil {
  fmt.Println(err)
}

for _, account := range accounts.List {
  fmt.Println(account.ID)
}

Get specific account from user with account-id

account, err := swedbank.GetAccount(&swedbank.SingleAccount{
  "AbcD1234eFgH568",
  "SANDSESS",
  true,
  "12345SGHDF",
  "AZXS3456",
  "Bearer dummyToken",
})

if err != nil {
  fmt.Println(err)
}

fmt.Println(account)

Get transactions list from specific account

transactions, err := swedbank.GetTransactions(&swedbank.SingleAccount{
  "AbcD1234eFgH568",
  "SANDSESS",
  true,
  "12345SGHDF",
  "AZXS3456",
  "Bearer dummyToken",
})

if err != nil {
  fmt.Println(err)
}

for _, transaction := range transactions.List {
  fmt.Println(transaction)
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].