Credit Cards

This JSON object represents a user's credit card information, providing key details about their credit card, including its type, expiry, and associated branding.

fetch

fetch("https://api.v2.rohitgadekar.dev/cards")
  .then((res) => res.json())
  .then(console.log);

sample response

 {
      "id": 3259,
      "uid": "f6c9f537-07a3-45d0-9d29-b725fa1a20d7",
      "credit_card_number": "1212-1221-1121-1234",
      "credit_card_expiry_date": "2024-08-30",
      "credit_card_type": "maestro",
      "logo": "https://res.cloudinary.com/eaglestudiosindia/image/upload/v1693545550/iluus/Maestro_nlkjva.png"
}
Table of Contents