mestafrica / mobile-wallet-fraud-database

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.
MIT License
0 stars 17 forks source link

Implement Rate Limiting by Phone Number #126

Closed muchinon closed 2 weeks ago

muchinon commented 2 weeks ago

Endpoint: /api/reports/check-limit

Method: GET

Description: Prevents spam by limiting the number of times a specific phone number can be reported within a time period.

Authorization Required: No

Feedback: Success: Returns current report count and limit status Failure: "Rate limit exceeded" or "Invalid phone number"

Wise-mystic commented 2 weeks ago

please assign me this issue