get card endpoint implemented