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/votes
Method: POST
Description: Allow users to vote on specific fraud report.
Authorization Required: Yes
Feedback Success: Vote recorded successfully Updated vote count returned HTTP Status: 200 OK
Failure: "Content not found" "Unauthorized to vote" "Invalid vote type" HTTP Status: 400 Bad Request