Agent Operations
Get agent card
Changed onRetrieve one of the authenticated agent's cards. A card that does not belong to the agent is not found. Requires the MANAGE_CARDS permission.
get/agents/me/cards/{cardId}
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/agents/me/cards/{cardId}
- AuthHTTP bearer
Response
Successful operation
Example response
{
"card": {
"id": "Card:019542f5-b3e7-1d02-0000-000000000010",
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"platformCardId": "card-emp-001",
"pinStatus": "OK",
"pinUnblockAvailableAt": "2026-10-15T15:00:00Z",
"last4": "4242",
"expMonth": 12,
"expYear": 2029,
"fundingSource": "InternalAccount:019542f5-b3e7-1d02-0000-000000000002",
"cardCapabilities": {
"supportsVelocityLimits": true,
"supportsPanReveal": true,
"supportsDigitalWalletTokenization": true
},
"maxNetworkRiskScore": 700,
"allowedMccs": [
"5411"
],
"blockedMccs": [
"7995"
],
"agentId": "Agent:019542f5-b3e7-1d02-0000-000000000042",
"currency": "USD",
"processorRef": "card_b81c2a4f",
"issuerRef": "lead_card_7a1b9c3d",
"createdAt": "2026-05-08T14:10:00Z",
"updatedAt": "2026-05-08T14:11:00Z"
},
"agentId": "Agent:019542f5-b3e7-1d02-0000-000000000042",
"effectiveBlockedMccs": [
"7995",
"6051"
],
"purchase": {
"amount": 4999,
"spendLimit": 5749,
"currency": "USD",
"description": "Running shoes from example-store.com",
"fundingSource": "InternalAccount:019542f5-b3e7-1d02-0000-000000000002",
"expiresAt": "2026-10-26T15:30:00Z"
}
}Changes
- info
added the optional property
/to the response with the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info