Hide Business Funding Prequalified Offer
This endpoint allows business customers to opt out of receiving prequalified funding offers. Calling this endpoint updates the customer's preference so that prequalified offers are hidden from their view. Once the request is processed, subsequent calls to GET /api/loans/loanSettings will reflect that prequalified offers should no longer be displayed.
Endpoint
POST /api/loans/IsNotLoan
Authentication
Bearer token required. Obtain via:
POST https://api.banking.netevia.dev/api/auth/v2
Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.
When to use
Use this endpoint when a business customer explicitly declines prequalified business funding offers and wants them removed from their experience. This is a preference update call — no additional parameters are needed. After calling this endpoint, the customer's funding offer display setting is permanently suppressed until changed.
Response
200 OK
Returns a boolean value indicating whether the opt-out preference was successfully recorded.
| Field | Type | Description |
|---|---|---|
| (root) | boolean | true if the opt-out was successfully applied; false otherwise |
trueError Codes
| Code | When it happens |
|---|---|
| 400 | Missing required fields or validation error |
| 401 | Token missing, expired, or invalid |
| 403 | Insufficient permissions |
| 404 | Resource not found |
| 500 | Internal server error |
Common Mistakes
- Calling this endpoint for personal customers — prequalified business funding offers are only applicable to business customers.
- Not refreshing the Bearer token before calling; tokens expire after 10 minutes and will return a 401 error.
Related Endpoints
GET /api/loans/loanSettings— Retrieves the customer's current loan/funding offer settings, including whether prequalified offers are displayed.
Example
curl -X POST https://api.banking.netevia.dev/api/loans/IsNotLoan \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"