Whitelist Fetch Api
Fetch Whitelist Accounts
Description :
This API endpoint is used to fetch whitelist accounts.
Endpoint URL :Request Parameters
| Request Parameter | Data Type | Default Value | Required | Description | Change Date | Change Description |
|---|
Request Example
Responses (JSON)
- Description: Data fetched successfully.
- status_code (integer): The status code of the response.
- data (object):
- account
- id (integer): 8
- type (string): ACCOUNT
- account_holder_name (string): SR DIGITAL
- bank_name (string): central bank of india
- account_number (string): 3539546451
- ifsc_code (string): CBIN0281975
- is_primary (string): No
- upi
- id (integer): 8
- type (string): UPI
- account_holder_name (string): SR DIGITAL
- upi_id (string): sit039@hdfcbank
- is_primary (string): No
- account
{"status_code": 0, "message": "Unable to fetch data"}, 200
- Status Code 0: Error message
- Description: A specific error message.
- 'status_code' (integer): 0
- 'message' (string): "Unable to fetch data"
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.