linking, adding card endpoint to API