Check out Triodos Open Banking for Developers
I’ve made some scripty stuff in python to play with the lovely Triodos Bank’s Open Banking sandbox. I’m really not sure why…
My python code does everything needed to get a transaction list out of the Triodos API. (As of writing it just grabs the first account that permissions are granted for.)
There are 14 commands (I’m calling modes) which, if followed in order, result in a final “Get Account Transactions” command (12-14 are Initial Query (get first), Get Next (pagination), Get First again)
Actions performed (as described in Triodos API docs) are: Get Initial Access Token, Register URIs, Get Authorization, Exchange the Authorization Code for an Access Token, Request Consent, Get Accounts, Get Account Balances, Get Account Transactions.
If you want to use my Python code then follow these steps.
Unpack my files
Install python and maybe lots of python modules… (and also php if you want to use callback recording bit)
Get a test certificate:
The organization ID needs to be a valid format for eIDAS eg: PSDUS-AAA-AAAA88 if your country code is “US”
You should save your organization ID into:
rfyoz-OB1/secrets_store/mybank1/your_id.txt (without leading or trailing whitespace in file)
Save your eIDAS Organization Id to:
Save the generated Private key to:
Save the generated Signing Certificate public key to:
Save the generated Issuer key id to:
Create a test user in the sandbox:
You should get some transactions, that when put in an HTML table, look like this: Triodos API output.
Triodos weren’t very imaginative with the fake data it seems.