Unofficial API client for the Swedbank's and Sparbanken's mobile apps in Sweden.
Authentication methods
All SwedbankJson API client traffic is TLS encrypted and strictly between your device/server that runs the code and Swedbank's servers. The client can not and will not send any information to any third party for any reason.
List bank statements with authentication method security token with one time code.
$auth = new SwedbankJson\Auth\SecurityToken($appData, $username, $challengeResponse);
$bankConn = new SwedbankJson\SwedbankJson($auth);
$accountInfo = $bankConn->accountDetails();
$bankConn->terminate(); // Sign out
echo 'Bank statements
<pre>';
print_r($accountInfo);
All API endpoints do not require to sign in. One example is quick balance.
$auth = new SwedbankJson\Auth\UnAuth($appData);
$bankConn = new SwedbankJson\SwedbankJson($auth);
$quickBalance = $bankConn->quickBalance($subID);
echo 'Quick balance
<pre>';
print_r($quickBalance);
No, it's either recommended or supported. It's much easier to use Composer than manually download all the dependencies. Read more about installing with Composer.
As far as I know, the Swedbank's API that SwedbankJson is using is unique for the Swedish market and is not used outside of Sweden.
In short, if you can use of Swedbank's or Sparbanken's Swedish mobile apps for Android or Ios, then you can use this library right now to e.g. login to your own account and fetch real transaction data (aka. production access).
In order get similar production access for the Swedbank Open Banking API, the following are required:
In other words, it's a long, complex (and costly) process to get started with Open Banking API.
This project utilize GitHub Issues for both support and feedback. Before creating a new issue, please do the following:
If you didn't find your answer, you are welcome to create a new issue.