Retrieves the complete profile for a registered Digital Money House user. The response includes all identity fields stored in 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.
user table — name, contact details, DNI, and the auto-generated CVU and alias tied to the user’s digital account. Access is restricted: a regular user can only fetch their own record, while a principal bearing the ROLE_ADMIN authority may retrieve any profile.
Endpoint
http://localhost:8085
Full URL: http://localhost:8085/users/{id}
Authentication
All requests to this endpoint must include a valid JWT in theAuthorization header. The token is validated by the API Gateway before the request reaches the User Service. If the authenticated principal is neither the owner of the requested record nor an admin, the service throws UnauthorizedException, which returns 401 Unauthorized.
Path Parameters
The unique numeric identifier of the user to retrieve. Must match the
id
column in the user table.Response Fields
A successful200 OK response returns the full User entity as JSON.
Auto-generated primary key for the user record.
The user’s first name (up to 50 characters).
The user’s last name (up to 50 characters).
The user’s email address. Also serves as the principal identifier used in JWT
claims.
National identity document number (up to 50 characters).
Contact phone number (up to 50 characters).
Human-readable unique alias for the digital account (e.g.,
sol.rio.mar).
Auto-generated at registration and unique across the platform (up to 300
characters).22-character Uniform Virtual Key used for transfers. Auto-generated at
registration and unique across the platform.
The foreign key referencing the user’s associated digital account in the
Accounts Service.
The foreign key referencing the user’s record in the Auth Service database.
Example
Request
Response
Error Codes
| HTTP Status | Description |
|---|---|
401 Unauthorized | The Authorization header is missing, malformed, or the token has expired; or the authenticated user is neither the owner of the requested profile nor an admin (UnauthorizedException). |
404 Not Found | No user exists with the provided id. |
