I want to have a little web based PHP app check my bank account for deposits every 10 minutes.
I know that Xero can look into your bank accounts and so can other accounting software.
Is there an API for talking to individual banks?
I want to have a little web based PHP app check my bank account for deposits every 10 minutes.
I know that Xero can look into your bank accounts and so can other accounting software.
Is there an API for talking to individual banks?
![]() ![]() ![]() ![]() |
|
No. Not going to happen.
Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)
Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.
michaelmurfy:
No. Not going to happen.
Why do you hold that view?
You'd probably be more likely to be able to do it by hiring a friendly Nigerian prince to check you balance periodically. You've most likely got emails to this effect already.
In all seriousness, the banks are very unlikely to do this.
Previously known as psycik
Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight
davidcole: In all seriousness, the banks are very unlikely to do this.
I don't understand why.
QCard send me emails weekly telling me the current available credit on my card.
DonGould:
michaelmurfy:
No. Not going to happen.
Why do you hold that view?
Massive fraud and security risk. Banks have locked down their API's to only a very small number of people (like Xero) for a reason. You could fetch the data directly from Xero but not from the bank.
Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)
Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.
DonGould:
davidcole: In all seriousness, the banks are very unlikely to do this.
I don't understand why.
QCard send me emails weekly telling me the current available credit on my card.
Sending an email/sms out from the bank is a very different proposition from allowing an incoming connection - which is what you asked for.
You'd be better to ask them for please email/sms me when a transaction happens on my account.
Previously known as psycik
Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight
DonGould:
michaelmurfy: No. Not going to happen.
Why do you hold that view?
Security? Confidentiality? ROI / business incentives? Load & performance? Your bank account balance is not a share on the stock market. The balance won't update every X minutes.
Considering we only recently moved from overnight batch processing to "same hour" transfers between banks, you sir, are way ahead of the curve. IMO of course.
Changing the focus, what nifty little project are you looking to put together?
Please keep this GZ community vibrant by contributing in a constructive & respectful manner.
Found this on the ASB website, but looks like you'd need to be a fairly grunty organisation to get access: https://developer.asb.co.nz/documentation
Benjip:
Found this on the ASB website, but looks like you'd need to be a fairly grunty organisation to get access: https://developer.asb.co.nz/documentation
There's no "get my balances" api call listed there. Just generic product information.
Also I stand corrected. If your bank is ASB, submit a request for access to their API. If you can supply them with the information/security assurances they require there's no reason you can't try.
The others may or may not have published APIs also.
Previously known as psycik
Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight
Besides as others have mentioned using an official API (for certain banks) or third-party like Xero's API it's certainly not impossible, but it's certainly not simple (and will likely breach bank T&C's but hey this is Geekzone not Amaturezone ;-) ... )
EDITED: Clarification..
BNZ can send email alerts when money is deposited in your bank account, it's also pretty much instant
nas:BNZ can send email alerts when money is deposited in your bank account, it's also pretty much instant
Both the company I work, and my personal banking is with BNZ. I work in finance/payroll, so I generally know when payments are being authorised/released. Usually within 30 seconds of the final authorisation going through, I get a txt on my vodafone phone that my wages have been deposited, as I have txt notifications for all deposits. Regularly I've seen it happen in less than 5 seconds. People know that when my phone chimes on pay day, it usually means they have been paid.
I'm with BNZ too, and email/SMS notifications for me are a few seconds as well.
|
![]() ![]() ![]() ![]() |