Arjo So, this turned out to be a bit harder than expected, due to a bug in the Python SDK that occurs when you are using a Travel Card...
Anyway, got around that, and it works now! 🌈 That is, you can now also view the balance of the account that is currently linked to a given card.
First, update the webserver on PythonAnywhere (if you already installed it, you can just do a ‘git pull’ and then reload the webapp from its configuration panel).
Similar to how you could query ‘<base-url>/accounts’ to get the id of the account you were interested in, you can now query ‘<base-url>/cards’ to get the id of the card you are interested in. Then, in Numerics, change the URL from ‘<base-url>/<account-id>/numerics’ to ‘<base-url>/<card-id>/numerics’... and you should be good to go! 🙂