API Reference
Virtual Cards
Fetch card user [GET]

Fetch Card User


https://sandboxapi.onbrails.com/api/v1/virtualcards/users/{card_user_id} (opens in a new tab)

Path Params

ParametertypeRequired
card_user_idstring

Request

Virtual Cards/Fetch Card User [GET]
curl --request GET \
   --url https://sandboxapi.onbrails.com/api/v1/virtualcards/users/card_user_id \
   --header 'Authorization: Bearer API-KEY' \
   --header 'accept: application/json'

Responses

🟢 200 - Result example
{
"status": true,
"message": "successfully fetched virtual card user",
"data": {
  "id": "ce1f7c6b-2efe-4208-8153-9a991b2a6ab1",
  "createdAt": "2022-12-16T16:47:39.759Z",
  "updatedAt": "2022-12-16T16:47:39.759Z",
  "customerEmail": "mossesesssttt@gmail.com",
  "firstName": "monasia",
  "idNumber": "B11299939",
  "idType": "PASSPORT",
  "lastName": "mahlaya",
  "phoneNumber": "+233544928683",
  "userPhoto": null,
  "customerId": "1a08faea-5655-4d24-b10b-c8168f88657e",
  "line1": "Ikeja",
  "city": "Lagos",
  "state": "Lagos",
  "zipCode": "00234",
  "country": "Nigeria",
  "bvn": "19876009875",
  "houseNumber": "accra",
  "idImage": "https://image.com/image.jpg",
  "kycPassed": null
}
}