Retrieve Card Details for a Payment
GET https://api.razorpay.com/v1/payments/{pay_id}/card
Use the API to obtain information about the card that was utilized to complete a payment.
Find additional information in the Fetch Card Details of a Payment API.