# PaycometRestApi.MethodsApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**getUserPaymentMethods**](MethodsApi.md#getUserPaymentMethods) | **POST** /v1/methods | Retrieves product methods

<a name="getUserPaymentMethods"></a>
# **getUserPaymentMethods**
> [InlineResponse20012] getUserPaymentMethods(opts)

Retrieves product methods

Payment methods of the client

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

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

### Parameters

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

### Return type

[**[InlineResponse20012]**](InlineResponse20012.md)

### Authorization

No authorization required

### HTTP request headers

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

