# FundedLoanAccountsApi

All URIs are relative to *http://localhost:8889/api*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getScheduleForFundedAccount**](#getscheduleforfundedaccount) | **GET** /deposits/{depositAccountId}/funding/{loanAccountId}/schedule | Allows retrieval of the loan account schedule for a loan account with the given id or encodedKey and funded by the deposit account with the given id or encodedKey.|

# **getScheduleForFundedAccount**
> LoanAccountSchedule getScheduleForFundedAccount()


### Example

```typescript
import {
    FundedLoanAccountsApi,
    Configuration
} from './api';

const configuration = new Configuration();
const apiInstance = new FundedLoanAccountsApi(configuration);

let depositAccountId: string; //The ID or encoded key of the deposit account. (default to undefined)
let loanAccountId: string; //The ID or encoded key of the loan account. (default to undefined)

const { status, data } = await apiInstance.getScheduleForFundedAccount(
    depositAccountId,
    loanAccountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **depositAccountId** | [**string**] | The ID or encoded key of the deposit account. | defaults to undefined|
| **loanAccountId** | [**string**] | The ID or encoded key of the loan account. | defaults to undefined|


### Return type

**LoanAccountSchedule**

### Authorization

[basic](../README.md#basic)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/vnd.mambu.v2+json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Funded Loan Account schedule retrieved |  -  |
|**400** | A validation error occurred |  -  |
|**401** | Unauthorized |  -  |
|**403** | Forbidden |  -  |
|**404** | Loan Account or Deposit Account not found |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

