sdk_python
sdk_python copied to clipboard
Travel Card not supported
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 byidis a Travel Card
and so on.
Same problem
https://github.com/bunq/sdk_php/issues/177#issuecomment-507689115