Currently, curbing mobile money fraud in the country is nearly impossible. To tackle this issue, we propose developing a real-time database that allows users to query and determine if a phone number is likely fraudulent based on public contributions, especially from those who have experienced fraud.
Endpoint: /api/keys
Method: GET
Description: Enables users to view all their generated API keys.
Authorization Required: Yes
Security Measures:
Authorization Check: Ensure the user is authenticated and has permission to view their own API keys.
Feedback:
Success: Returns a list of all API keys associated with the user.
Failure: "You do not have any API keys or do not have permission to view them."
Endpoint: /api/keys Method: GET Description: Enables users to view all their generated API keys. Authorization Required: Yes
Security Measures: Authorization Check: Ensure the user is authenticated and has permission to view their own API keys.
Feedback: Success: Returns a list of all API keys associated with the user. Failure: "You do not have any API keys or do not have permission to view them."