Loan Settings API Models Overview

Get Loan Settings

This endpoint returns loan settings data for the authenticated business customer. Depending on the customer's funding state, the response may include one or more of three distinct models: prequalified offer options, a funding application lead status, and details of active or completed loans.

The response is context-driven — the fields populated in the response reflect where the customer is in the business funding lifecycle, from initial prequalification through funded repayment.

Endpoint

GET /api/loans/loanSettings

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 to render the business funding section of your partner application. It consolidates prequalified offer details, application progress, and active loan status into a single call, allowing you to display the correct view based on where the customer is in the funding lifecycle. This endpoint is intended for business customers only; personal customers do not have access to business funding features.

Response

200 OK

Top-level response fields (loansettingresponse)

FieldTypeDescription
idinteger (int32)Internal identifier for the loan settings record
isNotLoanbooleanWhen true, suppresses display of prequalified offer information
exportedLoanServiestring (date-time)Timestamp of when the loan service record was exported
optionsarray of optionPrequalified business funding offer details (model: options)
signUrlstringURL for the customer to sign funding documents
leadIdstringIdentifier for the business funding application lead
loansarray of loanActive and historical funded loan details (model: loans)
leadDetailsobject (leaddetailsresponse)Business funding application status (model: leadDetails)
showLoanSectionbooleanControls whether the loan section should be shown in the UI
isDismissbooleanIndicates whether the customer has dismissed the funding prompt
leadCreatedDatestring (date-time)Date the funding application lead was created
automatedDismissDatestring (date-time)Date when the funding prompt will be automatically dismissed
expirationstring (date-time)Expiration date of the current prequalified offer
termOfUsestringURL or text of the terms of use for the funding product
offerIdstringIdentifier for the current prequalified offer
privacystringURL or text of the privacy policy for the funding product

Prequalified offer object (options[])

FieldTypeDescription
amountnumber (double)The requested or offered funding amount
feenumber (double)Fee charged by the funding provider; may differ significantly in sandbox
currencyISOCodestringCurrency code for the offer, typically USD
fundedAmountnumber (double)The actual amount that will be disbursed to the customer
sweepnumber (double)Percentage of each transaction allocated toward repayment
expirationstring (date-time)Expiration date and time of this offer
isApprovedbooleanIndicates whether this offer has been approved
daysUntilRepaymentinteger (int32)Number of days until the next repayment is due
offerIdstringUnique identifier for this specific offer
daysUntilMaturityinteger (int32)Number of days until the funding reaches full maturity

Application status object (leadDetails)

FieldTypeDescription
leadSourceLendingPartnerIdstringIdentifier of the lending partner source
onboardingStatestringCurrent status of the business funding application; use this to track application progress
onboardingStateReasonstringReason for the current onboarding state, if applicable
organisationDetailsStepCompletebooleanWhether the organisation details step has been completed
paymentDataStepCompletebooleanWhether the payment data step has been completed
offerStepCompletebooleanWhether the offer acceptance step has been completed
kycDocumentsStepCompletebooleanWhether KYC document submission has been completed
companyNamestringLegal name of the applying business
leadTypestringClassification type of the application lead
signingDetailsobjectDocument signing details for the application
signingDetails.eligibleForInstantSigningbooleanWhether the customer is eligible for instant document signing
signingDetails.instantSigningDetails.leadIdstringLead identifier for instant signing
signingDetails.instantSigningDetails.documentIdstringDocument identifier for instant signing
signingDetails.instantSigningDetails.documentNamestringName of the document to be signed
signingDetails.instantSigningDetails.signatoryNamestringName of the person required to sign
signingDetails.instantSigningDetails.companynamestringCompany name on the signing document
ownerstringOwner identifier associated with the lead
thirdPartyCustomerIdstringExternal customer identifier used by the funding provider
signUpDatestring (date-time)Date the customer signed up for the funding application
stateUpdatedstring (date-time)Timestamp of the last application state change
merchantIdsarray of stringMerchant identifiers associated with the lead
additionalInfo.additionalPropstringAdditional metadata associated with the lead

Active loan object (loans[])

FieldTypeDescription
idstringUnique identifier for the loan record
loanNumberinteger (int32)Sequential loan number
borrowerNamestringName of the borrowing business
currentAmountnumber (double)Outstanding balance remaining to be repaid
loanTypestringType classification of the loan
statusstringCurrent status of the loan, from initiation through final repayment
maturityDatestring (date-time)Date by which the loan must be fully repaid
sweepnumber (double)Percentage of each transaction allocated toward repayment
autoRepaymentSweepbooleanWhether automatic repayment sweep is enabled
currencyISOCodestringCurrency code for the loan, typically USD
currentAmountAtRepaynumber (double)Outstanding balance at the time of repayment action
currentAmountAtDeletenumber (double)Outstanding balance at the time the loan was deleted
currentAmountAtWriteOffnumber (double)Outstanding balance at the time the loan was written off
merchantIdsarray of stringMerchant identifiers associated with this loan
creditRatingstringCredit rating assigned at origination
fundingDatestring (date-time)Date the loan was funded and disbursed
fundedAmountnumber (double)Total amount disbursed to the customer
originalAmountnumber (double)Initial total repayment amount due at origination
aheadBehindValuenumber (double)Monetary value indicating if the borrower is ahead or behind on repayment
aheadBehindPercentagenumber (double)Percentage indicating if the borrower is ahead or behind on repayment
{
  "id": 1042,
  "isNotLoan": false,
  "exportedLoanServie": "2025-11-15T09:00:00Z",
  "options": [
    {
      "amount": 25000.00,
      "fee": 3750.00,
      "currencyISOCode": "USD",
      "fundedAmount": 25000.00,
      "sweep": 10.0,
      "expiration": "2025-12-31T23:59:59Z",
      "isApproved": true,
      "daysUntilRepayment": 30,
      "offerId": "offer-a1b2c3d4",
      "daysUntilMaturity": 180
    }
  ],
  "signUrl": "https://sign.example.com/session/abc123",
  "leadId": "lead-xyz789",
  "loans": [
    {
      "id": "loan-00112233",
      "loanNumber": 3,
      "borrowerName": "Acme Corp LLC",
      "currentAmount": 18500.00,
      "loanType": "MerchantCashAdvance",
      "status": "Active",
      "maturityDate": "2026-05-01T00:00:00Z",
      "sweep": 10.0,
      "autoRepaymentSweep": true,
      "currencyISOCode": "USD",
      "currentAmountAtRepay": 0.00,
      "currentAmountAtDelete": 0.00,
      "currentAmountAtWriteOff": 0.00,
      "merchantIds": ["merch-001", "merch-002"],
      "creditRating": "A",
      "fundingDate": "2025-11-01T08:30:00Z",
      "fundedAmount": 25000.00,
      "originalAmount": 28750.00,
      "aheadBehindValue": 500.00,
      "aheadBehindPercentage": 1.74
    }
  ],
  "leadDetails": {
    "leadSourceLendingPartnerId": "partner-0099",
    "onboardingState": "OfferAccepted",
    "onboardingStateReason": null,
    "organisationDetailsStepComplete": true,
    "paymentDataStepComplete": true,
    "offerStepComplete": true,
    "kycDocumentsStepComplete": true,
    "companyName": "Acme Corp LLC",
    "leadType": "Standard",
    "signingDetails": {
      "eligibleForInstantSigning": true,
      "instantSigningDetails": {
        "leadId": "lead-xyz789",
        "documentId": "doc-55667788",
        "documentName": "Funding Agreement",
        "signatoryName": "Jane Smith",
        "companyname": "Acme Corp LLC"
      }
    },
    "owner": "owner-44556677",
    "thirdPartyCustomerId": "ext-cust-98765",
    "signUpDate": "2025-10-20T10:00:00Z",
    "stateUpdated": "2025-11-01T08:00:00Z",
    "merchantIds": ["merch-001"],
    "additionalInfo": {
      "additionalProp": "value"
    }
  },
  "showLoanSection": true,
  "isDismiss": false,
  "leadCreatedDate": "2025-10-20T10:00:00Z",
  "automatedDismissDate": "2025-12-20T00:00:00Z",
  "expiration": "2025-12-31T23:59:59Z",
  "termOfUse": "https://netevia.com/terms",
  "offerId": "offer-a1b2c3d4",
  "privacy": "https://netevia.com/privacy"
}

Error Codes

CodeWhen it happens
401Token missing, expired, or invalid
403Caller is not a business customer or lacks permission to access funding data
500Internal server error

Common Mistakes

  • Assuming all response models (options, leadDetails, loans) will always be populated — each section is conditionally populated based on the customer's funding lifecycle stage. Always check for null or empty arrays before rendering.
  • Ignoring the isNotLoan flag — when true, the prequalified offer section should not be displayed, even if options is populated.
  • Treating fundedAmount and originalAmount in the loans model as the same value — fundedAmount is the disbursed amount, while originalAmount is the total repayment due including fees.
  • Relying on sandbox fee values to match production — the documentation explicitly notes that fee amounts may differ significantly between environments.
  • Displaying the options section without checking expiration — prequalified offers expire and should not be shown to customers after the expiration date and time.

Related Endpoints

  • POST /api/loans/apply — Submit a business funding application
  • GET /api/loans/loanDetails/{loanId} — Retrieve detailed information for a specific active loan
  • POST /api/loans/dismiss — Dismiss the business funding prompt for the authenticated customer

Example

curl -X GET https://api.banking.netevia.dev/api/loans/loanSettings \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json