# PaycometRestApi.MarketplaceApi

All URIs are relative to *https://rest.paycomet.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**splitTransfer**](MarketplaceApi.md#splitTransfer) | **POST** /v1/marketplace/split-transfer | Make a transfer to other accounts on PAYCOMET
[**splitTransferReversal**](MarketplaceApi.md#splitTransferReversal) | **POST** /v1/marketplace/split-transfer-reversal | Run a split transfer reversal based on a previous split transfer
[**transfer**](MarketplaceApi.md#transfer) | **POST** /v1/marketplace/transfer | Run a transfer
[**transferReversal**](MarketplaceApi.md#transferReversal) | **POST** /v1/marketplace/transfer-reversal | Make a transfer reversal based on a previous transfer

<a name="splitTransfer"></a>
# **splitTransfer**
> InlineResponse20027 splitTransfer(PAYCOMET_API_TOKEN, opts)

Make a transfer to other accounts on PAYCOMET

Make a deposit in a destination account

### Example
```javascript
import {PaycometRestApi} from 'paycomet_rest_api';

let apiInstance = new PaycometRestApi.MarketplaceApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.MarketplaceSplittransferBody() // MarketplaceSplittransferBody | 
};
apiInstance.splitTransfer(PAYCOMET_API_TOKEN, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **PAYCOMET_API_TOKEN** | **String**| PAYCOMET API key (Authorization privilege required) | 
 **body** | [**MarketplaceSplittransferBody**](MarketplaceSplittransferBody.md)|  | [optional] 

### Return type

[**InlineResponse20027**](InlineResponse20027.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="splitTransferReversal"></a>
# **splitTransferReversal**
> InlineResponse20027 splitTransferReversal(PAYCOMET_API_TOKEN, opts)

Run a split transfer reversal based on a previous split transfer

Make a split transfer reversal request

### Example
```javascript
import {PaycometRestApi} from 'paycomet_rest_api';

let apiInstance = new PaycometRestApi.MarketplaceApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.MarketplaceSplittransferreversalBody() // MarketplaceSplittransferreversalBody | 
};
apiInstance.splitTransferReversal(PAYCOMET_API_TOKEN, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **PAYCOMET_API_TOKEN** | **String**| PAYCOMET API key (Authorization privilege required) | 
 **body** | [**MarketplaceSplittransferreversalBody**](MarketplaceSplittransferreversalBody.md)|  | [optional] 

### Return type

[**InlineResponse20027**](InlineResponse20027.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="transfer"></a>
# **transfer**
> InlineResponse20028 transfer(PAYCOMET_API_TOKEN, opts)

Run a transfer

Run a transfer in a destination account

### Example
```javascript
import {PaycometRestApi} from 'paycomet_rest_api';

let apiInstance = new PaycometRestApi.MarketplaceApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.MarketplaceTransferBody() // MarketplaceTransferBody | 
};
apiInstance.transfer(PAYCOMET_API_TOKEN, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **PAYCOMET_API_TOKEN** | **String**| PAYCOMET API key (Authorization privilege required) | 
 **body** | [**MarketplaceTransferBody**](MarketplaceTransferBody.md)|  | [optional] 

### Return type

[**InlineResponse20028**](InlineResponse20028.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="transferReversal"></a>
# **transferReversal**
> InlineResponse20028 transferReversal(PAYCOMET_API_TOKEN, opts)

Make a transfer reversal based on a previous transfer

Make a transfer reversal based on a previous transfer

### Example
```javascript
import {PaycometRestApi} from 'paycomet_rest_api';

let apiInstance = new PaycometRestApi.MarketplaceApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.MarketplaceTransferreversalBody() // MarketplaceTransferreversalBody | 
};
apiInstance.transferReversal(PAYCOMET_API_TOKEN, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **PAYCOMET_API_TOKEN** | **String**| PAYCOMET API key (Authorization privilege required) | 
 **body** | [**MarketplaceTransferreversalBody**](MarketplaceTransferreversalBody.md)|  | [optional] 

### Return type

[**InlineResponse20028**](InlineResponse20028.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

