I've been looking for a way to discern which type of card was used in a particular transaction using clover's developer API. The reason being that we need to know these for a client's project, because different fees will be applied to different cards e.g Visa Credit vs Visa Debit, Mastercard etc.
I have found something close under the 'cardTransaction' object in a JSON response from the 'Payments' endpoint; however, this only shows whether the card is from Visa or Mastercard, not any further details at all. My question is, can this data be found at all using the API? I realise there are of course limitations to what can be shown in the response, but wouldn't have thought this would be sensitive information.
Any help is greatly appreciated,