个人资金流动API
我正在尝试创建一个简单的个人项目:我想给自己奖励,以完成我的待办事项列表中经常出现的任务。例如,如果我完成一项任务,5 美元应该自动从我的储蓄账户转入可自由支配支出的借记卡。
是否有任何 API 或拥有这些 API 的银行可以让我这样做?所有 PayPal API 似乎都收取费用,如果资金只是在帐户之间转移,那么这有点愚蠢。有什么建议吗?
I'm trying to create a simple personal project: I want to give myself bounties for completing tasks that often fester on my todo list. If I complete a task, for example, $5 should automatically move out of my savings account into a discretionary spending debit card.
Are there any APIs or banks that have those APIs that could let me do that? All of the paypal APIs seem to charge a fee, which would be kind of silly if the money is simply moving between accounts. Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我怀疑大多数银行/组织都会收取费用,因为这些组织赚取的大量资金来自转账费用。我想不出免费的 api 可以让你做到这一点。
但是,您可以考虑使用其他商业组织,比如亚马逊,也许可以使用它的 API 自动提供礼品卡购买?我并不是说亚马逊是免费的,我只是用它作为例子。
这不完全是您想要的,但可能是可以接受的。
Most banks/organisations will charge I suspect as a vast amount of money made by these organisations is from transfer charges. I cannot think of free api that would let you do it.
However you could consider using another commercial organisation, say like Amazon, and perhaps use it's APIs to supply purchase with gift cards automatically? I'm not saying Amazon is free, I'm just using it as an example.
It's not quite what you want but may be acceptable.
它可能不太漂亮,但您可以使用curl通过https进行交易,前提是您的网上银行以某种方式使用标准html表单,但它通常需要3个过程
1. 登录获取令牌(需要用户名和密码)
2.使用token获取cookie(有些情况1和2颠倒)
3. 使用curl 发布交易的表单数据
这里有一些关于以类似方式使用curl 的好指示:
http://curl.haxx.se/docs/httpscripting.html
it may not be pretty, but you can use curl to do transactions over https, provided your online bank uses standard html forms in some way, but it typicaly takes 3 processes
1. Login to get a token (user name and password will be required)
2. Use token to get a cookie (in some cases 1 and 2 are reversed)
3. use curl to post the form data for your transaction
There are some good pointers on using curl in similar ways here:
http://curl.haxx.se/docs/httpscripting.html