All pages
Powered by GitBook
1 of 1

Loading...

Find loan application offers

Use case

Here we will review how to find the existing loan application offers.

Use case data
API parameters with values

We need to verify if the loan application ID-1664282446 has any existing offers.

...applications/ID-1664282446/offers

Sample API call

To find the loan application offers, make the following API call.

Sample request

Below is an example request of the API call for finding the existing loan application offers.

https://loan-api.sandbox.tuumplatform.com/api/v2/applications/ID-1664282446/offers
curl -L 'https://loan-api.sandbox.tuumplatform.com/api/v2/applications/ID-1664282446/offers' \
-H 'x-channel-code: SYSTEM' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDctMjVUMTA6NTk6MzciLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2OTAyODI3Nzd9.Fp49Wdqzrmifxb9PNrQIqT1_xXFyM4QouKaPzq9ANeE' \
-d ''

Sample response

Below you find an example response body to the API call above.

Response
{
    "errors": null,
    "validationErrors": null,
    "data": [
        {
            "offerId": "ID-1664282512",
            "applicationId": "ID-1664282446",
            "personId": "ID-3392",
            "coPersonId": null,
            "interestRate": 1.539,
            "loanToValue": null,
            "requestedMoney": {
                "amount": 10000.00,
                "currencyCode": "EUR"
            },
            "offeredMoney": {
                "amount": 10000.00,
                "currencyCode": "EUR"
            },
            "grossMoney": {
                "amount": 10000.00,
                "currencyCode": "EUR"
            },
            "netMoney": {
                "amount": 10000.00,
                "currencyCode": "EUR"
            },
            "loanPeriod": 10,
            "statusCode": "WAITING_FOR_REVIEW",
            "offerDate": "2023-07-18",
            "statusDate": "2023-07-18",
            "statusComment": null,
            "loanTypeCode": "ANNUITY STANDARD",
            "paymentDay": 1,
            "servicingAccountId": null,
            "apr": 2.07,
            "scheduleTypeCode": "ANNUITY",
            "purpose": null,
            "loanGroupCode": "UNSECURED_LOAN",
            "monthlyRepaymentMoney": {
                "amount": 1032.86,
                "currencyCode": "EUR"
            },
            "monthlyRepaymentRate": null,
            "tenantCode": null,
            "statusCodeReason": null,
            "minimalWithdrawalTypeCode": null,
            "minimalWithdrawalMoney": null,
            "invoiceDay": 8,
            "invoiceDueDay": 3,
            "maxPeriod": 48,
            "maxMoney": {
                "amount": 12345.67,
                "currencyCode": "EUR"
            },
            "applicationScore": 123.45,
            "countryCode": "GB",
            "channelCode": "system",
            "paymentInstructions": [],
            "numberOfPayments": 10,
            "annuityMoney": {
                "amount": 1032.86,
                "currencyCode": "EUR"
            },
            "validityRange": {
                "endDate": "2023-08-01",
                "startDate": "2023-07-18"
            },
            "additionalData": null,
            "feeMoney": {
                "amount": 25.00,
                "currencyCode": "EUR"
            },
            "interestMarginRate": 1.2,
            "interestBaseRate": 0.339,
            "interestTypeCode": "FLOATING",
            "rateBaseCode": "EURIBOR-6M",
            "paymentFreeMonths": null,
            "source": {
                "sourceName": "LOAN.APPLICATION",
                "sourceRef": "ID-1664282446",
                "sourceLink": null
            },
            "coBorrowers": [
                {
                    "personId": "ID-3392",
                    "borrowerTypeCode": "BORROWER"
                }
            ],
            "repaymentChannelCode": "TRUSTLY",
            "campaignIds": [],
            "limitUsageDate": null,
            "contractEndDate": null,
            "contractId": null,
            "contractNumber": null,
            "activeVersionId": null,
            "amortisationPeriod": null,
            "overdraft": false,
            "collateralRequired": false
        }
    ]
}

Result

The loan application offer ID-1664282512 was found.

https://loan-api.sandbox.tuumplatform.com/api/v2/applications/{applicationId}/offers

See more information about the endpoint in the Tuum developer portal.

find loan application offer