v1

latestOpenAPI 3.1.02026-07-26590236.8 KB

Fetch Card

get/card/{card_id}

Path parameters

card_idstring required

Query parameters

decryptboolean

Set this to true if you would like the decrypted card details to be retrieved. You should never save un-encrypted card details on any of your servers or clients.

Response

200

messagestring
{"stackTrail":"paths:/card/{card_id}:get:responses:200:content:application/json:schema:properties:meta","oasType":"schema","type":"unknown"}
statusstring

Example response

{
  "data": {
    "id": "aba9d6e7b03f11ed9e800242ac110002",
    "holder_id": "c74b2fb8a59911eda9df0242ac110002",
    "holder_type": "person",
    "balance": 5000,
    "currency": "USD",
    "brand": "visa",
    "label": "Sandbox",
    "cardholder_name": "JOHN DERRICK",
    "number_masked": "4291**********45",
    "number": "8a94891bee7cc295694722235a8b3c6f",
    "exp_month": "02",
    "exp_year": "2026",
    "cvv": "d3339283dd27145e8f822e3ef4882074",
    "billing_address": {
      "address_type": "mailing",
      "city": "Missouri",
      "country": "US",
      "line1": "2632 Bouillon Way",
      "postal_code": "012916",
      "state": "BA"
    },
    "status": "active",
    "created_at": "2023-02-19T10:25:02Z",
    "updated_at": "2023-02-19T10:25:02Z"
  },
  "message": "Card retrieved successfully",
  "status": "success"
}