import { API_ROOT } from 'config' import { callApi } from 'helpers' export const deleteCard = async (cardId: string) => { const config = { body: { card_id: cardId, }, } return callApi({ config, url: `${API_ROOT}/account/delete-card`, }) }