> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.credit.aarthiklabs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.credit.aarthiklabs.com/_mcp/server.

# Read Loan Against Mutual Funds Offers

GET https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/{borrowerProviderID}/journey/offers

Read-only API-key call. Poll this endpoint using `data.polling.nextPoll` until selectable Loan Against Mutual Funds offers, `NOT_OFFERED`, or `data.polling.shouldPoll = false` is returned. LAMF responses support Credit Line and Term Loan offers. Lender groups intentionally do not include `minimumLoanAmount` or `maximumLoanAmount`. Calls before `nextPoll` can return `429` with `OFFER_POLL_RATE_LIMITED`. Calls made before a recent Start Journey request finishes initializing can return `429` with `HYBRID_JOURNEY_NOT_READY` and `data.polling.shouldPoll = true`.

Reference: https://docs.credit.aarthiklabs.com/api-reference/hybrid-experience/loan-against-mutual-funds/poll-hybrid-lamf-offers

## Authentication

- `Authorization` header (bearer token, required) — Send `Authorization: Bearer <PLATFORM_API_KEY>` from a trusted back-end.

## Servers

- `https://credit.aarthiklabs.com` (Production, default)
- `https://preprod.credit.aarthiklabs.com` (PreProduction)

## Request

### Path parameters

- `borrowerProviderID` (string, required) — Stable borrower identity from the partner system. Keep a 1:1 mapping between the borrower and `borrowerProviderID` across sessions and application attempts to preserve resume, history, and post-disbursal continuity.

### Headers

- `x-correlation-id` (string, optional) — Optional caller-supplied trace identifier. When omitted, the API generates one and mirrors it as `correlation_id`.

## Response

### 200

Current Hybrid Loan Against Mutual Funds offer state.

- `request_id` (string, required)
- `correlation_id` (string, required)
- `timestamp` (datetime, required)
- `data` (HybridLAMFOffersData, required) — Current Hybrid Loan Against Mutual Funds offer state. Supports Credit Line and Term Loan LAMF products.
- `error` (any, required)

## Errors

### 401 Unauthorized Error

Missing or invalid platform API key.

- `request_id` (string, required)
- `correlation_id` (string, required)
- `timestamp` (datetime, required)
- `data` (any, required)
- `error` (HybridError, required)

### 404 Not Found Error

Borrower, journey, route, or offer was not found for the authenticated application scope.

- `request_id` (string, required)
- `correlation_id` (string, required)
- `timestamp` (datetime, required)
- `data` (any, required)
- `error` (HybridError, required)

### 429 Too Many Requests Error

Too many requests. For offer polling, retry at the returned `polling.nextPoll` timestamp.

- `PollHybridLAMFOffersRequestTooManyRequestsError`
  - HybridErrorResponse: HybridErrorResponse
  - HybridOfferPollingRateLimitedResponse: HybridOfferPollingRateLimitedResponse

### 500 Internal Server Error

Temporary upstream or platform failure.

- `request_id` (string, required)
- `correlation_id` (string, required)
- `timestamp` (datetime, required)
- `data` (any, required)
- `error` (HybridError, required)

## Types

### HybridLAMFOffersData

Current Hybrid Loan Against Mutual Funds offer state. Supports Credit Line and Term Loan LAMF products.

- `status` (enum, required)
  - Allowed values: `STARTED`, `NOT_PROFILED`, `PROFILED`, `OFFERED`, `NOT_OFFERED`, `OFFER_ACCEPTED`, `LENDER_REDIRECTED`, `REJECTED`, `DISBURSED`, `EXPIRED`
- `lenders` (map from string to HybridLAMFLenderOfferGroup, required) — Map keyed by borrower-visible lender name.
- `journeyID` (string, required) — Aarthik Labs journey ID. Matches `data.journey.id` in lifecycle web-hooks for the same borrower journey.
- `polling` (HybridPolling, optional)

### HybridError

- `code` (enum, required)
  - Allowed values: `VALIDATION_FAILED`, `AUTH_INVALID_API_KEY`, `AUTH_INVALID_SESSION`, `ACCESS_SCOPE_MISMATCH`, `RESOURCE_NOT_FOUND`, `OFFER_LOCK_CONFLICT`, `STATE_PRECONDITION_FAILED`, `OFFER_POLL_RATE_LIMITED`, `HYBRID_JOURNEY_NOT_READY`, `RATE_LIMITED`, `UPSTREAM_TEMPORARY_FAILURE`
- `message` (string, required)
- `retryable` (boolean, required) — Whether retrying the same operation can make progress. A persisted final primary-form failure is not retryable, including HTTP 500; reconcile the accepted operation before any resubmission. Correct invalid input before retrying validation failures.
- `details` (map from string to any, required, nullable)

### HybridErrorResponse

- `request_id` (string, required)
- `correlation_id` (string, required)
- `timestamp` (datetime, required)
- `data` (any, required)
- `error` (HybridError, required)

### HybridOfferPollingRateLimitedResponse

- `request_id` (string, required)
- `correlation_id` (string, required)
- `timestamp` (datetime, required)
- `data` (HybridOfferPollingRateLimitedResponseData, required)
- `error` (HybridError, required)

### HybridLAMFLenderOfferGroup

LAMF lender group. Unlike Personal Loan and Gold Loan lender groups, LAMF groups do not include minimumLoanAmount or maximumLoanAmount.

- `offers` (list of HybridLamfLenderOfferGroupOffersItems, required)

### HybridPolling

- `shouldPoll` (boolean, required)
- `lastPoll` (datetime, required)
- `nextPoll` (datetime, required)

### HybridOfferPollingRateLimitedResponseData

- `polling` (HybridPolling, required)

### HybridLamfLenderOfferGroupOffersItems

- HybridLAMFCreditLineOffer: HybridLAMFCreditLineOffer
- HybridLAMFTermLoanOffer: HybridLAMFTermLoanOffer

### HybridLAMFCreditLineOffer

LAMF credit-line offer. Credit lines use sanctionedLimit and renewalFrequency, and do not expose amountPrincipal, installmentAmount, ltvRatio, minimumLoanAmount, or maximumLoanAmount.

- `consentHandleAvailable` (boolean, required, nullable)
- `status` (enum, required, nullable)
  - Allowed values: `OFFER_AWAITED`, `OFFER_RECEIVED`, `NO_OFFER_AVAILABLE`
- `offerID` (string, required, nullable) — Use this in the Hosted URL endpoint only when it is non-null and the row is selectable.
- `productType` (enum, required) — LAMF product discriminator.
  - Allowed values: `LAMF`
- `facilitytype` (enum, required) — LAMF facility type.
  - Allowed values: `CREDIT_LINE`
- `sanctionedLimit` (string, required, nullable) — Approved credit-line limit.
- `renewalFrequency` (string, required, nullable) — How often the credit line is renewed, for example YEARLY.
- `repaymentFrequency` (string, required, nullable) — Repayment cadence quoted by the lender.
- `repaymentType` (string, required, nullable) — Repayment structure quoted by the lender, for example INTEREST_ONLY or EQUATED_INSTALLMENT.
- `annualPercentageRate` (string, required, nullable)
- `interestRate` (string, required, nullable)
- `offerTerm` (string, required, nullable)
- `processingFee` (string, required, nullable) — Processing fee quoted by the lender for this LAMF offer.
- `applicationFee` (string, required, nullable) — Application fee quoted by the lender for this LAMF offer.
- `offerValidity` (string, required, nullable) — How long this LAMF offer remains valid.
- `ondcTransactionID` (string, required, nullable)
- `pledgeRequirements` (list of HybridLAMFPledgeRequirement, required) — Mutual fund units that need to be pledged for this offer.
- `offerSignals` (HybridOfferSignals, required)

### HybridLAMFTermLoanOffer

LAMF term-loan offer. Term loans use amountPrincipal and installmentAmount, and do not expose sanctionedLimit, renewalFrequency, ltvRatio, minimumLoanAmount, or maximumLoanAmount.

- `consentHandleAvailable` (boolean, required, nullable)
- `status` (enum, required, nullable)
  - Allowed values: `OFFER_AWAITED`, `OFFER_RECEIVED`, `NO_OFFER_AVAILABLE`
- `offerID` (string, required, nullable) — Use this in the Hosted URL endpoint only when it is non-null and the row is selectable.
- `productType` (enum, required) — LAMF product discriminator.
  - Allowed values: `LAMF`
- `facilitytype` (enum, required) — LAMF facility type.
  - Allowed values: `TERM_LOAN`
- `amountPrincipal` (string, required, nullable) — Principal amount offered for the LAMF term loan.
- `installmentAmount` (string, required, nullable) — Installment amount for the LAMF term loan.
- `repaymentFrequency` (string, required, nullable) — Repayment cadence quoted by the lender.
- `repaymentType` (string, required, nullable) — Repayment structure quoted by the lender, for example INTEREST_ONLY or EQUATED_INSTALLMENT.
- `annualPercentageRate` (string, required, nullable)
- `interestRate` (string, required, nullable)
- `offerTerm` (string, required, nullable)
- `processingFee` (string, required, nullable) — Processing fee quoted by the lender for this LAMF offer.
- `applicationFee` (string, required, nullable) — Application fee quoted by the lender for this LAMF offer.
- `offerValidity` (string, required, nullable) — How long this LAMF offer remains valid.
- `ondcTransactionID` (string, required, nullable)
- `pledgeRequirements` (list of HybridLAMFPledgeRequirement, required) — Mutual fund units that need to be pledged for this offer.
- `offerSignals` (HybridOfferSignals, required)

### HybridLAMFPledgeRequirement

- `rta` (string, required) — Registrar and transfer agent for the pledged mutual fund units.
- `amcCode` (string, required) — Asset management company code.
- `schemeCode` (string, required) — Mutual fund scheme code.
- `folioID` (string, required) — Investor folio identifier.
- `unitsRequired` (string, required) — Units that need to be pledged for this offer.

### HybridOfferSignals

- `offerType` (enum, required) — How firm the lender-side offer is at the polling stage.
  - Allowed values: `DEDUPE_OFFER`, `PROVISIONAL_OFFER`, `FINAL_OFFER`
- `fulfillmentJourneyType` (enum, required) — Expected borrower fulfillment path after selecting the offer.
  - Allowed values: `FULLY_DIGITAL_STP`, `COMBINED_ONLINE_OFFLINE`, `OFFLINE_ASSISTED`
- `conversionChance` (enum, required) — Business-configured conversion likelihood signal for borrower guidance.
  - Allowed values: `VERY_HIGH`, `HIGH`, `MODERATE`, `LOW`, `VERY_LOW`

## Examples

### Loan Against Mutual Funds credit-line offers

**Response**

```json
{
  "request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "correlation_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "timestamp": "1970-01-01T00:00:00.000Z",
  "data": {
    "status": "OFFERED",
    "lenders": {
      "DSP Finance": {
        "offers": [
          {
            "consentHandleAvailable": false,
            "status": "OFFER_RECEIVED",
            "offerID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            "productType": "LAMF",
            "facilitytype": "CREDIT_LINE",
            "sanctionedLimit": "1100000.00",
            "renewalFrequency": "YEARLY",
            "repaymentFrequency": "MONTHLY",
            "repaymentType": "INTEREST_ONLY",
            "annualPercentageRate": "5.00",
            "interestRate": "12.00",
            "offerTerm": "12 months",
            "processingFee": "1100.00",
            "applicationFee": "1000.00",
            "offerValidity": "15 days",
            "ondcTransactionID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            "pledgeRequirements": [
              {
                "rta": "KFIN",
                "amcCode": "ICICIPRU",
                "schemeCode": "44121",
                "folioID": "XTR98234",
                "unitsRequired": "75"
              }
            ],
            "offerSignals": {
              "offerType": "FINAL_OFFER",
              "fulfillmentJourneyType": "FULLY_DIGITAL_STP",
              "conversionChance": "VERY_HIGH"
            }
          }
        ]
      }
    },
    "journeyID": "journey_lamf_001",
    "polling": {
      "shouldPoll": true,
      "lastPoll": "1970-01-01T00:00:20.000Z",
      "nextPoll": "1970-01-01T00:00:30.000Z"
    }
  },
  "error": null
}
```

**SDK Code**

```python Loan Against Mutual Funds credit-line offers
import requests

url = "https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers"

headers = {
    "x-correlation-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Loan Against Mutual Funds credit-line offers
const url = 'https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers';
const options = {
  method: 'GET',
  headers: {
    'x-correlation-id': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Loan Against Mutual Funds credit-line offers
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-correlation-id", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Loan Against Mutual Funds credit-line offers
require 'uri'
require 'net/http'

url = URI("https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-correlation-id"] = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Loan Against Mutual Funds credit-line offers
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers")
  .header("x-correlation-id", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Loan Against Mutual Funds credit-line offers
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'x-correlation-id' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  ],
]);

echo $response->getBody();
```

```csharp Loan Against Mutual Funds credit-line offers
using RestSharp;

var client = new RestClient("https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers");
var request = new RestRequest(Method.GET);
request.AddHeader("x-correlation-id", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Loan Against Mutual Funds credit-line offers
import Foundation

let headers = [
  "x-correlation-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Loan Against Mutual Funds term-loan offers

**Response**

```json
{
  "request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "correlation_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "timestamp": "1970-01-01T00:00:00.000Z",
  "data": {
    "status": "OFFERED",
    "lenders": {
      "DSP Finance": {
        "offers": [
          {
            "consentHandleAvailable": false,
            "status": "OFFER_RECEIVED",
            "offerID": "xxxxxxxx-xxxx-xxxx-xxxx-yyyyyyyyyyyy",
            "productType": "LAMF",
            "facilitytype": "TERM_LOAN",
            "amountPrincipal": "400000.00",
            "installmentAmount": "88460.00",
            "repaymentFrequency": "MONTHLY",
            "repaymentType": "EQUATED_INSTALLMENT",
            "annualPercentageRate": "5.00",
            "interestRate": "12.00",
            "offerTerm": "5 months",
            "processingFee": "1100.00",
            "applicationFee": "1000.00",
            "offerValidity": "15 days",
            "ondcTransactionID": "xxxxxxxx-xxxx-xxxx-xxxx-yyyyyyyyyyyy",
            "pledgeRequirements": [
              {
                "rta": "KFIN",
                "amcCode": "ICICIPRU",
                "schemeCode": "44121",
                "folioID": "XTR98234",
                "unitsRequired": "75"
              }
            ],
            "offerSignals": {
              "offerType": "FINAL_OFFER",
              "fulfillmentJourneyType": "FULLY_DIGITAL_STP",
              "conversionChance": "VERY_HIGH"
            }
          }
        ]
      }
    },
    "journeyID": "journey_lamf_001",
    "polling": {
      "shouldPoll": true,
      "lastPoll": "1970-01-01T00:00:20.000Z",
      "nextPoll": "1970-01-01T00:00:30.000Z"
    }
  },
  "error": null
}
```

**SDK Code**

```python Loan Against Mutual Funds term-loan offers
import requests

url = "https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers"

headers = {
    "x-correlation-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Loan Against Mutual Funds term-loan offers
const url = 'https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers';
const options = {
  method: 'GET',
  headers: {
    'x-correlation-id': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Loan Against Mutual Funds term-loan offers
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-correlation-id", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Loan Against Mutual Funds term-loan offers
require 'uri'
require 'net/http'

url = URI("https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-correlation-id"] = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Loan Against Mutual Funds term-loan offers
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers")
  .header("x-correlation-id", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Loan Against Mutual Funds term-loan offers
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'x-correlation-id' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  ],
]);

echo $response->getBody();
```

```csharp Loan Against Mutual Funds term-loan offers
using RestSharp;

var client = new RestClient("https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers");
var request = new RestRequest(Method.GET);
request.AddHeader("x-correlation-id", "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Loan Against Mutual Funds term-loan offers
import Foundation

let headers = [
  "x-correlation-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://credit.aarthiklabs.com/api/v1/hybrid/loan-against-mutual-funds/borrowers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/journey/offers")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```