Verify mPin Api
Verify mPin
Description :
This API endpoint is used to verify 4 digit mpin
Endpoint URL :Request Parameters
| Request Parameter | Data Type | Default Value | Required | Description | Change Date | Change Description |
|---|---|---|---|---|---|---|
| mpin | integer | Yes | Please pass 4 digit mpin |
Request Example
Responses (JSON)
- status_code (integer): The status code of the response.
- message: (string): mPin successfully verified.
{"status_code": 2, "message": "The mpin field must be 4 digits"}, 422
- status_code (integer): The status code of the response.
- message: (string): A specific validation error message.
{"status_code": 0, "message": "Oops..! Wrong mPin entered"}, 400
- status_code (integer): The status code of the response.
- message: (string): Oops..! Wrong mPin entered.
Note
- The API endpoint should be accessed via a POST request.
- Ensure that the request is properly validated and sanitized to prevent security vulnerabilities.
- Implement proper error handling on the client side to display user-friendly error messages based on the 'status_code' and 'message' fields in the response.