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/admin/password/verify-code
Method: POST
Description: Verifies the reset code sent to the admin's email during the password recovery process.
Authorization Required: No
Parameters:
Email Address: Admin's email address.
Code: Verification code.
Validations:
Code:
Must match the code sent.
Ensure the code has not expired.
Feedback:
Success: "Code verified successfully."
Failure: "Invalid or expired code."
Endpoint: /api/admin/password/verify-code Method: POST Description: Verifies the reset code sent to the admin's email during the password recovery process. Authorization Required: No Parameters: Email Address: Admin's email address. Code: Verification code.
Validations: Code: Must match the code sent. Ensure the code has not expired.
Feedback: Success: "Code verified successfully." Failure: "Invalid or expired code."