Reference

Cards

Retrieve a list of cards stored in the PCI DSS Level 1 vault

List

List cards that have been stored on the platform through a Checkout Page or Payment Form.

Path

GET /cards?{query parameters}

Query Parameters

FieldRequiredDescription
Example
card_expire_monthNFilter for card that will expire in x months2
card_status_lookups_idNFilter for specific card statusesloo_abc123...
customer_idNID of a specific customer to filter for, see customerscus_abc123...

Response Body

{
  "status": true,
  "records": [{
    "id": "crd_abc123...",
    "created_at": "2024-12-28 22:14:47",
    "updated_at": null,
    "card_status_lookups_id": "loo_abc123...",
    "customers_id": "cus_abc123...",
    "card_ending": "9834",
    "card_expire": "04/29",
    "card_brand": "VISA",
    "card_token": "60d678e2465b5b6c4fd5e847ef39c70c4b0c22d1b826f39eb80a107b3b8433ad",
  }, ...]
}

Response Parameters

Field
Type
Description
Example
statusBooleantrue - response success, false - response errortrue
recordsArrayArray of card objects...
records.idString(32)Unique ID of this cardcrd_abc123...
records.created_atTimestamp(YYYY-MM-DD HH:mm:ss)When this card was stored2024-12-28 22:14:47
records.updated_atTimestamp(YYYY-MM-DD HH:mm:ss)When this card entry was last changednull
records.card_status_lookups_idString(32)Lookups ID relating to the status of this cardloo_abc123...
records.customers_idString(32)ID of the customer who owns this card see customerscus_abc123...
records.card_endingString(4)Last 4 digits of the card number9834
records.card_expireString(5)Card expiry date in MM/YY format04/29
records.card_brandStringCard brand/typeVISA
records.card_tokenStringCard token used for payments60d678e2465b5b6c4fd5e847ef39c70c4b0c22d1b826f39eb80a107b3b8433ad

Copyright © 2024 Kwik