sdk_python icon indicating copy to clipboard operation
sdk_python copied to clipboard

Travel Card not supported

Open noahvanes opened this issue 6 years ago • 2 comments

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.

noahvanes avatar Aug 13 '19 09:08 noahvanes

Same problem

LeLunZ avatar Aug 20 '19 23:08 LeLunZ

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

OGKevin avatar Aug 21 '19 06:08 OGKevin