Skip to main content
GET
/
v1
/
cards
/
{cardId}
Get card
curl --request GET \
  --url https://api.ledger.so/v1/cards/{cardId} \
  --header 'Api-Key: <api-key>'
{
  "id": "<string>",
  "agentId": "<string>",
  "userId": "<string>",
  "type": "single",
  "purpose": "<string>",
  "status": "active",
  "last4": "<string>",
  "createdAt": 123,
  "credentialExposure": "never",
  "expirationMonth": "<string>",
  "expirationYear": "<string>",
  "limits": {
    "perAuth": 123,
    "perDay": 123,
    "perMonth": 123
  },
  "merchantHint": "<string>",
  "ttlDays": 123
}

Authorizations

Api-Key
string
header
required

API key for authentication. Get your key from the Dashboard.

Path Parameters

cardId
string
required

The card ID

Response

Card details

id
string
required
agentId
string
required
userId
string
required
type
enum<string>
required

Card type

Available options:
single,
multi
purpose
string
required
status
enum<string>
required
Available options:
active,
frozen,
closed,
notActivated
last4
string
required

Last 4 digits of card number

createdAt
integer
required
credentialExposure
enum<string>
Available options:
never,
extensionOnly,
rawPan
expirationMonth
string
expirationYear
string
limits
object
merchantHint
string
ttlDays
integer