Get Virtual Card Details

Changed on

This Api helps to get the details about a virtual card, the issuing endpoint will be called,the card id will be passed to the endpoint URL, and the businessID as the params as shown below:

get/profile/issuing/id?business={businessID}

Request

Path parameters

businessIDstring required

Headers

businessstring required

The business id

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Virtual card fetched",
  "data": {
    "_id": "639922b94e39c5e732605e76",
    "address": {
      "country": "US",
      "state": "CA",
      "zip": "94105",
      "city": "San Francisco",
      "street": "123 Main St",
      "_id": "639922b94e39c52c49605e77"
    },
    "brand": "mastercard",
    "business": "60c1d7e39d9fc6b87dedb04e",
    "cardHolderName": "Attat Harry",
    "cardHolderType": "individual",
    "cardPan": 2222516009755136,
    "cid": "4b186f42-add1-4716-9ffc-50e8c7e38d59",
    "currency": "USD",
    "cvv": 123,
    "expiry": "08/27",
    "isActive": true,
    "maskedPan": "222251******5136",
    "type": "virtual",
    "createdAt": "2022-12-14T01:11:21.297Z",
    "updatedAt": "2022-12-14T18:03:33.859Z"
  }
}

Changes