Download OpenAPI specification:
Lightweight diagnostic endpoint that exercises the payment client. This method is not part of the user API contract. It appears to be a temporary or debugging-oriented endpoint that invokes the payment service with placeholder data and returns the raw payment response.
{- "amount": 0,
- "currency": "USD",
- "paymentId": "string",
- "status": "PENDING"
}Authenticates a user with the provided email and password.
Login payload containing identifier (`email` or `username`) and `password`.
| email required | string |
| password required | string |
| username required | string |
{- "email": "string",
- "password": "string",
- "username": "string"
}{- "code": 0,
- "result": {
- "id": "string",
- "role": "CUSTOMER"
}
}Registers a new user with the provided information and credentials.
Registration payload containing user data and credentials data.
| hashedPassword required | string |
| saltValue required | string |
required | object (UserDTO) |
{- "hashedPassword": "string",
- "saltValue": "string",
- "user": {
- "email": "string",
- "id": "string",
- "role": "string",
- "username": "string"
}
}Updates the profile information for a user.
Payload containing the updated user profile information.
required | object (UserDTO) |
{- "user": {
- "email": "string",
- "id": "string",
- "role": "string",
- "username": "string"
}
}{- "code": 0,
- "result": "string",
- "msg": "string"
}Updates the password for a user with the provided old and new passwords.
Password update payload containing user, old password, and new password.
| email required | string |
| id required | string |
| newPassword required | string |
| oldHashedPassword required | string |
| username required | string |
{- "email": "string",
- "id": "string",
- "newPassword": "string",
- "oldHashedPassword": "string",
- "username": "string"
}{- "code": 0,
- "result": "string",
- "msg": "string"
}Deletes a user from an id
| id required | string The user identifier from the path. |
{- "code": 0,
- "result": {
- "email": "string",
- "id": "string",
- "role": "string",
- "username": "string"
}, - "user": {
- "email": "string",
- "id": "string",
- "role": "string",
- "username": "string"
}
}