# DepositTransactionDocumentsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getDepositTransactionDocument**](#getdeposittransactiondocument) | **GET** /deposits/transactions/{depositTransactionId}/templates/{templateId} | Get deposit transaction document|

# **getDepositTransactionDocument**
> string getDepositTransactionDocument()


### Example

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

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

let depositTransactionId: string; //The ID or encoded key of the deposit transaction. (default to undefined)
let templateId: string; //The ID of the deposit product template. (default to undefined)

const { status, data } = await apiInstance.getDepositTransactionDocument(
    depositTransactionId,
    templateId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **depositTransactionId** | [**string**] | The ID or encoded key of the deposit transaction. | defaults to undefined|
| **templateId** | [**string**] | The ID of the deposit product template. | defaults to undefined|


### Return type

**string**

### 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** | The deposit transaction document has been returned. |  -  |
|**400** | A validation error occurred |  -  |
|**401** | Unauthorized |  -  |
|**403** | Forbidden |  -  |
|**404** | The deposit transaction or template was 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)

