You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.,
using endpoint.Card.list(...) to retrieve the list of cards if one of them is a Travel Card
using endpoint.Card.get(id) if the card identified by id is a Travel Card
and so on.
The text was updated successfully, but these errors were encountered:
I work at bunq and am currently reviewing the bunq API docs, open issues and SDK’s and came across your issue. I know it’s been open for a while, and I’d love to understand how it’s impacting you. Beyond the obvious -fixing this issue-, what else could we do to improve your experience with our API?
If you want to share your thoughts on how we can improve on our public API:
📅 I'd love to schedule a 15 minute interview to understand your needs through: Calendly
💬 Or if you don't have time for a call, you can give us some general feedback through this form
Your feedback will go straight to our product team! 🚀
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.,
endpoint.Card.list(...)
to retrieve the list of cards if one of them is a Travel Cardendpoint.Card.get(id)
if the card identified byid
is a Travel Cardand so on.
The text was updated successfully, but these errors were encountered: