{"id":74,"date":"2013-11-15T14:31:00","date_gmt":"2013-11-15T13:31:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/11\/15\/hibiscus-payment-server-hbci-banking\/"},"modified":"2013-11-15T14:31:00","modified_gmt":"2013-11-15T13:31:00","slug":"hibiscus-payment-server-hbci-banking","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/11\/15\/hibiscus-payment-server-hbci-banking\/","title":{"rendered":"Hibiscus Payment Server \u2013 HBCI banking"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/www.willuhn.de\/products\/hibiscus-server\/\">http:\/\/www.willuhn.de\/products\/hibiscus-server\/<\/a><\/li>\n<li><a href=\"http:\/\/www.willuhn.de\/products\/hibiscus-server\/install.php\">http:\/\/www.willuhn.de\/products\/hibiscus-server\/install.php<\/a><\/li>\n<li><a href=\"http:\/\/www.willuhn.de\/products\/hibiscus-server\/support.php\">http:\/\/www.willuhn.de\/products\/hibiscus-server\/support.php<\/a><\/li>\n<li><a href=\"http:\/\/www.willuhn.de\/wiki\/\">http:\/\/www.willuhn.de\/wiki\/<\/a>\u00a0\u2013 I don&#8217;t see Hisbiscus Server mentioned<\/li>\n<li><a href=\"http:\/\/www.onlinebanking-forum.de\/phpBB2\/viewforum.php?f=33\">http:\/\/www.onlinebanking-forum.de\/phpBB2\/viewforum.php?f=33<\/a><\/li>\n<li>http:\/\/www.willuhn.de\/bugzilla<\/li>\n<\/ul>\n<div>\n<div>With the hibiscus-server running on (let&#8217;s say) your current machine at port 8080 (AKA <a href=\"https:\/\/localhost:8080\/\">https:\/\/localhost:8080<\/a>), you have a few rather useful services available:<\/div>\n<\/div>\n<ul>\n<li><a href=\"https:\/\/localhost:8080\/hibiscus\/\">https:\/\/localhost:8080\/hibiscus\/<\/a>\u00a0\u2013 the &#8220;Hibiscus Management Console&#8221; \u2013 this is where you enter your HBCI accounts and where you can view account statements etc<\/li>\n<li><a href=\"https:\/\/localhost:8080\/webadmin\/\">https:\/\/localhost:8080\/webadmin\/<\/a> \u2013 the &#8220;Jameica Management Console&#8221; for the Hibiscus Server<\/li>\n<li><a href=\"https:\/\/localhost:8080\/webadmin\/rest.html\">https:\/\/localhost:8080\/webadmin\/rest.html<\/a> \u2013 the Management Console shows a link &#8220;<a href=\"https:\/\/localhost:8080\/webadmin\/rest.html\">REST Services<\/a>&#8221; listing available REST services, amongst others the list of accounts and list of transactions \u2026 (see below)<\/li>\n<li><a href=\"https:\/\/localhost:8080\/webadmin\/rest\/hibiscus\/konto\/list\">https:\/\/localhost:8080\/webadmin\/rest\/hibiscus\/konto\/list<\/a> \u2013 a JSON list of the accounts, of course with details<\/li>\n<li><a href=\"https:\/\/localhost:8080\/webadmin\/rest\/hibiscus\/konto\/2\/umsaetze\/days\/999\">https:\/\/localhost:8080\/webadmin\/rest\/hibiscus\/konto\/2\/umsaetze\/days\/999<\/a> \u2013 a JSON list of transactions on account &#8220;2&#8221; (you can find acount &#8220;2&#8221; described above) during the last 999 days<\/li>\n<li>All that is implemented in Java.<\/li>\n<\/ul>\n<div><\/div>\n<div>I would love to see this running on my Synology NAS at home with plenty of Internet bandwith available, so that I can get my bank account transactions updated over the Internet a few times each day.\u00a0\u00a0(Update: For whatever reason hibiscus\/jameica \u00a0do not run as expected on my NAS. \u00a0I ran out of time investigating this.)<\/div>\n<div><\/div>\n<div>These days Synology does not supply Java on their devices \u2013 I assume, they do not want to get officially bothered with Java difficulties on their devices. But still here I found a description of how to install Oracle Java SE on a Synology NAS:<\/div>\n<div>\n<ul>\n<li><a href=\"http:\/\/missilehugger.com\/203\/\">http:\/\/missilehugger.com\/203\/<\/a><\/li>\n<\/ul>\n<div>With the &#8220;https:\/\/localhost:8080\/webadmin\/rest\/hibiscus\/konto\/\u2026&#8221; REST services listed above I get hold off account data rather, rather easily like this:<\/div>\n<\/div>\n<blockquote><p>$\u00a0curl &#8211;sslv3 &#8211;insecure<br \/>\n&#8211;user jameica:PASSWORD<br \/>\nhttps:\/\/localhost:8080\/webadmin\/rest\/hibiscus\/konto\/list<\/p><\/blockquote>\n<p>Now I prefer developing software using Perl, and I will make use of the JSON lists in Perl, and that should be rather easy. I think, I am going to abandon my web-scraping scripts in Perl, once all this is in place. Web-scraping banking web-sites is a rather tedious business, whereas HBCI\/FinTS is a confirmed banking standard in this country (Germany), and I consider the Hibiscus Server as a rather easy way to deal with the HBCI <a href=\"https:\/\/en.wikipedia.org\/wiki\/Moloch\">Moloch<\/a>\u00a0AKA <a href=\"https:\/\/en.wikipedia.org\/wiki\/FinTS\">FinTS<\/a>.<\/p>\n<p>\u2026:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.willuhn.de\/wiki\/doku.php?id=support:list:banken:misc:pintan\">http:\/\/www.willuhn.de\/wiki\/doku.php?id=support:list:banken:misc:pintan<\/a>\u00a0\u2013 bank details needed to set up an HBCI account<\/li>\n<\/ul>\n<p>update 2014-04-23:<\/p>\n<ul>\n<li>after my initial start with hibiscus-server-2.4.0\u00a0today I decided to upgrade to\u00a0hibiscus-server-2.6.5<\/li>\n<li>downloaded the .zip<\/li>\n<li>I shut down the running hibiscus-server<\/li>\n<li>I renamed the current hibiscus-server to hibiscus-server-2.4.0 \u2013 I would have to fall back to this state in case \u2026<\/li>\n<li>unpacked hibiscus-server-2.6.5.zip, resulting in a new hibiscus-server\/<\/li>\n<li>\u2026\/create_snapshot.sh \u2026\/hibiscus-server\/cfg\/de.willuhn.jameica.hbci.rmi.HBCIDBService.properties; removed the original, so that we would operate on an H2 db<\/li>\n<li>on the NAS I moved all the .zip and .gz of \u2026\/.jameica\/ to an &#8220;uncle&#8221; directory<\/li>\n<li>removed the old .zip and .gz from $HOME\/.jameica\/<\/li>\n<li>and I took a time-stamped snapshot of $HOME\/.jameica\/<\/li>\n<li>on the NAS I moved that time-snapshot to an &#8220;uncle&#8221; directory as well<\/li>\n<li>locally I removed that time-snapshot<\/li>\n<li>started \u2026\/hibiscus-server\/jameicaserver.sh again<\/li>\n<li>same results, *.json looks fine, just\/almost as before \u2013 that&#8217;s rather fine \u2013 whatever the banks had changed in the meantime \u2013 no changes on my side<\/li>\n<\/ul>\n<p>(To be continued\u2026)\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.willuhn.de\/products\/hibiscus-server\/ http:\/\/www.willuhn.de\/products\/hibiscus-server\/install.php http:\/\/www.willuhn.de\/products\/hibiscus-server\/support.php http:\/\/www.willuhn.de\/wiki\/\u00a0\u2013 I don&#8217;t see Hisbiscus Server mentioned http:\/\/www.onlinebanking-forum.de\/phpBB2\/viewforum.php?f=33 http:\/\/www.willuhn.de\/bugzilla With the hibiscus-server running on (let&#8217;s say) your current machine at port 8080 (AKA https:\/\/localhost:8080), you have a few rather useful services available: https:\/\/localhost:8080\/hibiscus\/\u00a0\u2013 the &#8220;Hibiscus Management Console&#8221; \u2013 this is where you enter your HBCI accounts and where you can view account [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[289,575],"tags":[1087],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-json","category-synology","tag-hibiscus"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1c","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}