Fetch the full details of one specific card using both its own ID and the owning account ID. The service verifies that the card actually belongs to the specified account before returning data — if theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Gianluca-X/DigitalMoney/llms.txt
Use this file to discover all available pages before exploring further.
cardId exists but is linked to a different account, the request is rejected. This double-key lookup prevents cross-account data leakage.
Endpoint
http://localhost:8085
Authentication
A valid Bearer JWT is required. Pass it in the
Authorization header as Authorization: Bearer <token>.Path Parameters
The numeric identifier of the account that owns the card.
The numeric identifier of the specific card to retrieve.
Response
Returns a singleCardOutDTO object on success (200 OK).
Response Fields
Auto-generated unique identifier for this card record.
Full card number stored in the system.
Card holder name as it appears on the card.
Card expiry in
MM/YY format (e.g. "12/26").Card security code (CVV/CVC).
The account this card is associated with.
Example Request
Example Response
Error Responses
| Status | Exception | Condition |
|---|---|---|
400 Bad Request | — | Path variables are not valid long integers. |
401 Unauthorized | — | Missing or expired Bearer token. |
403 Forbidden | AccessDeniedException | The card exists but belongs to a different account. |
404 Not Found | ResourceNotFoundException | No card with the given cardId exists in the system. |
