Set Low Balance Alert Api
Set Low Balance Alert
Description :
This API endpoint is used to set the low balance alert for user.
Endpoint URL :Request Parameters
| Request Parameter | Data Type | Default Value | Required | Description | Change Date | Change Description |
|---|---|---|---|---|---|---|
| threshold_limit | Integar | Yes | Please pass the amount | |||
| numbers | string | Yes | mobile no seprated by coma | |||
| email_ids | string | Yes | email id seprated by coma | |||
| status | string | Yes | status Active, Inactive |
Request Example
Responses (JSON)
- status_code (integer): The status code of the response.
- message: (string): Low balance alert update success
{"status_code": 2, "message": "status is must required"}, 422
- Status Code 2: Validation Error
- Description: Validation error in the input parameters.
- 'status_code' (integer): 2
- 'message' (string): "A specific validation error message."
{"status_code": 0, "message": "Unable to update low balance alert"}, 500
- Status Code 0: Error message
- Description: A specific error message.
- 'status_code' (integer): 0
- 'message' (string): "Unable to update low balance alert"
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.