# PaycometRestApi.SepaApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**addDocument**](SepaApi.md#addDocument) | **POST** /v1/sepa/add-document | Adds a SEPA document
[**cancel**](SepaApi.md#cancel) | **POST** /v1/sepa/cancel | Cancel a SEPA order
[**checkCustomer**](SepaApi.md#checkCustomer) | **POST** /v1/sepa/check-customer | Check a customers SEPA documentation
[**checkDocument**](SepaApi.md#checkDocument) | **POST** /v1/sepa/check-document | Check a SEPA document
[**enroleCustomer**](SepaApi.md#enroleCustomer) | **POST** /v1/sepa/enrole-customer | Generate a link to make a account check to a customer
[**sepaOperations**](SepaApi.md#sepaOperations) | **POST** /v1/sepa/operations | Send SEPA operations

<a name="addDocument"></a>
# **addDocument**
> InlineResponse20029 addDocument(PAYCOMET_API_TOKEN, opts)

Adds a SEPA document

add_document

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

let apiInstance = new PaycometRestApi.SepaApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.SepaAdddocumentBody() // SepaAdddocumentBody | 
};
apiInstance.addDocument(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** | [**SepaAdddocumentBody**](SepaAdddocumentBody.md)|  | [optional] 

### Return type

[**InlineResponse20029**](InlineResponse20029.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="cancel"></a>
# **cancel**
> InlineResponse20033 cancel(PAYCOMET_API_TOKEN, opts)

Cancel a SEPA order

cancel

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

let apiInstance = new PaycometRestApi.SepaApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.SepaCancelBody() // SepaCancelBody | 
};
apiInstance.cancel(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** | [**SepaCancelBody**](SepaCancelBody.md)|  | [optional] 

### Return type

[**InlineResponse20033**](InlineResponse20033.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="checkCustomer"></a>
# **checkCustomer**
> InlineResponse20031 checkCustomer(PAYCOMET_API_TOKEN, opts)

Check a customers SEPA documentation

check_customer

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

let apiInstance = new PaycometRestApi.SepaApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.SepaCheckcustomerBody() // SepaCheckcustomerBody | 
};
apiInstance.checkCustomer(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** | [**SepaCheckcustomerBody**](SepaCheckcustomerBody.md)|  | [optional] 

### Return type

[**InlineResponse20031**](InlineResponse20031.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="checkDocument"></a>
# **checkDocument**
> InlineResponse20029 checkDocument(PAYCOMET_API_TOKEN, opts)

Check a SEPA document

check_document

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

let apiInstance = new PaycometRestApi.SepaApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.SepaCheckdocumentBody() // SepaCheckdocumentBody | 
};
apiInstance.checkDocument(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** | [**SepaCheckdocumentBody**](SepaCheckdocumentBody.md)|  | [optional] 

### Return type

[**InlineResponse20029**](InlineResponse20029.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="enroleCustomer"></a>
# **enroleCustomer**
> InlineResponse20030 enroleCustomer(PAYCOMET_API_TOKEN, opts)

Generate a link to make a account check to a customer

enrole_customer

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

let apiInstance = new PaycometRestApi.SepaApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.SepaEnrolecustomerBody() // SepaEnrolecustomerBody | 
};
apiInstance.enroleCustomer(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** | [**SepaEnrolecustomerBody**](SepaEnrolecustomerBody.md)|  | [optional] 

### Return type

[**InlineResponse20030**](InlineResponse20030.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="sepaOperations"></a>
# **sepaOperations**
> InlineResponse20032 sepaOperations(PAYCOMET_API_TOKEN, opts)

Send SEPA operations

sepa_operations

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

let apiInstance = new PaycometRestApi.SepaApi();
let PAYCOMET_API_TOKEN = "PAYCOMET_API_TOKEN_example"; // String | PAYCOMET API key (Authorization privilege required)
let opts = { 
  'body': new PaycometRestApi.SepaOperationsBody() // SepaOperationsBody | 
};
apiInstance.sepaOperations(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** | [**SepaOperationsBody**](SepaOperationsBody.md)|  | [optional] 

### Return type

[**InlineResponse20032**](InlineResponse20032.md)

### Authorization

No authorization required

### HTTP request headers

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

