The /api/loans/dismiss API endpoint allows partners to manage the visibility of certain screens and information for customers. This functionality is particularly useful when a funding application is declined or a funding offer has expired. Although not mandatory, it is recommended to use this API to hide or provide an option to hide such information from the customer's view.
Use Case Example:
When a business funding application is declined or a business funding offer expires, it may be beneficial to remove or hide this information from the customer's screen. To achieve this, the customer can click a "Dismiss" button. This action informs the system that the specific information should no longer be displayed to the customer.
Endpoint Behavior:
Request: When a "Dismiss" action is triggered by the customer, a POST request is sent to this endpoint.
Response: The API will process the request and update the system to ensure that the dismissed information is no longer visible to the customer.
Benefits:
Improved User Experience: Hiding outdated or irrelevant information helps maintain a clean and relevant user interface.
Increased Relevance: Ensures that customers are only presented with up-to-date and pertinent information.