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:
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: