Adding a configurable endpoint for the cards API