bunq / sdk_python

Python SDK for bunq API
MIT License
107 stars 26 forks source link

Travel Card not supported #115

Open noahvanes opened 5 years ago

noahvanes commented 5 years ago

It seems that the SDK can not handle the Travel (Credit) Card. That is, a 'CardDebit' field is expected in the JSON response, whereas for the Travel Card the field is named 'CardCredit'.

This results in a KeyError exception when e.g.,

and so on.

LeLunZ commented 5 years ago

Same problem

OGKevin commented 5 years ago

https://github.com/bunq/sdk_php/issues/177#issuecomment-507689115