Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travel Card not supported #115

Open
noahvanes opened this issue Aug 13, 2019 · 2 comments
Open

Travel Card not supported #115

noahvanes opened this issue Aug 13, 2019 · 2 comments

Comments

@noahvanes
Copy link

noahvanes commented Aug 13, 2019

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.

@LeLunZ
Copy link

LeLunZ commented Aug 20, 2019

Same problem

@OGKevin
Copy link
Contributor

OGKevin commented Aug 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants