v1

latestOpenAPI 3.1.02026-08-04490133.8 KB

Get all cards

get/cards

Query parameters

statusstring

status can be active, frozen, terminated or terminating

querystring

this is to search by card title or card user name

fromstring

for start date in this format: 2023-05-12

tostring

for end date in this format: 2023-05-12

Response

200

codeinteger
successboolean

Example response

{
  "code": 200,
  "data": {
    "message": "Cards fetched successfully",
    "cards": [
      {
        "securityCode": "800",
        "expiration": "1025",
        "currency": "USD",
        "status": "active",
        "title": "GCP services",
        "color": "black",
        "name": "John Doe",
        "createdAt": "2023-10-04T12:58:11.396Z",
        "updatedAt": "2023-10-04T12:58:11.396Z",
        "id": "c844f81f-d487-4868-d1eb-08dbc35",
        "brand": "Visa",
        "mask": "451946******1642",
        "number": "451946000001642",
        "balance": 1,
        "isNonSubscription": true,
        "ownerId": "CUI2"
      }
    ],
    "total": 15,
    "limit": 20,
    "page": 1
  },
  "success": true
}