# ps.module.CouponApi

All URIs are relative to */*

Method | HTTP request | Description
------------- | ------------- | -------------
[**apiVersionCouponGet**](CouponApi.md#apiVersionCouponGet) | **GET** /api/{version}/coupon | List of coupon to applied that can be applied to subscriptions or invoice

<a name="apiVersionCouponGet"></a>
# **apiVersionCouponGet**
> apiVersionCouponGet(version, opts)

List of coupon to applied that can be applied to subscriptions or invoice

### Example
```javascript
import ps.module from 'phonespeakv2_api';
let defaultClient = ps.module.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new ps.module.CouponApi();
let version = "version_example"; // String | 
let opts = { 
  'type': new ps.module.PhoneSpeakEntitiesEnumsCouponType() // PhoneSpeakEntitiesEnumsCouponType | 
};
apiInstance.apiVersionCouponGet(version, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **version** | **String**|  | 
 **type** | [**PhoneSpeakEntitiesEnumsCouponType**](.md)|  | [optional] 

### Return type

null (empty response body)

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

