-
-
Save b3nelof0n/9618bbec0334de7d43c790f216863310 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('FHP_BANK_URL', 'https://hbci.postbank.de/banking/hbci.do'); # HBCI / FinTS Url can be found here: https://www.hbci-zka.de/institute/institut_auswahl.htm (use the PIN/TAN URL) | |
define('FHP_BANK_PORT', 3000); # HBCI / FinTS Port can be found here: https://www.hbci-zka.de/institute/institut_auswahl.htm | |
define('FHP_BANK_CODE', 'BLZ'); # Your bank code / Bankleitzahl | |
define('FHP_ONLINE_BANKING_USERNAME', 'POSTBANK KONTO NUMMER'); # Your online banking username / alias | |
define('FHP_ONLINE_BANKING_PIN', 'PIN ZUM EINLOGEN INS ONLINEBANKING'); # Your online banking PIN (NOT! the pin of your bank card!) | |
$fints = new FinTs( | |
FHP_BANK_URL, | |
FHP_BANK_PORT, | |
FHP_BANK_CODE, | |
FHP_ONLINE_BANKING_USERNAME, | |
FHP_ONLINE_BANKING_PIN | |
); | |
$aAccounts = $fints->getAccounts(); | |
var_dump($aAccounts); | |
foreach ($aAccounts as $oAccount){ | |
$saldo = $fints->getSaldo($oAccount); | |
var_dump($saldo); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment