cURL
curl --request GET \ --url https://api.ledger.so/v1/users/{userId}/cards \ --header 'Api-Key: <api-key>'
{ "data": [ { "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 } ], "hasMore": true, "cursor": "<string>" }
List all cards across all agents for a user.
API key for authentication. Get your key from the Dashboard.
The user ID
Number of items per page (max 100)
1 <= x <= 100
Pagination cursor from previous response
Card list
Show child attributes