All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| assignEmv | POST /api/v1.0/{appId}/hydra/emvterminal/assign/{hydraConfigId}/{emvTerminalId} | |
| attachStoreToKiosk | POST /api/v1.0/{appId}/AttachStoreToKiosk/{deviceId}/store/{storeId} | |
| attachStoreToTerminal | POST /api/v1.0/{appId}/hydra/{deviceId}/attach/{storeId} | |
| cancelEmvPayment | POST /api/v1.0/{appId}/hydra/cancelemvpayment/{orderId} | |
| detachStoreFromTerminal | POST /api/v1.0/{appId}/hydra/{deviceId}/detach/{storeId} | |
| getAblyToken | GET /api/v1.0/hydra/ably_token | |
| getAttachedDevice | GET /api/v1.0/{appId}/hydra/{deviceType}/{deviceId} | |
| getAttachedDevices | GET /api/v1.0/{appId}/hydra/{deviceType}/list | |
| getEMVTerminalDetails | GET /api/v1.0/{appId}/hydra/emvterminal | |
| getEmvOrderState | GET /api/v1.0/{appId}/hydra/emvorderstate/{orderId} | |
| getKioskCashPaymentSettings | GET /api/v1.0/{appId}/kioskcashsettings/{deviceId} | |
| getKioskSettings | GET /api/v1.0/{appId}/kiosksettings/{deviceId} | |
| getRegistration | GET /api/v1.0/hydra/registration | |
| getSettings | GET /api/v1.0/hydra/settings | |
| hydraCreateEmv | POST /api/v1.0/{appId}/emvterminals | |
| hydraDeleteEmv | DELETE /api/v1.0/{appId}/emvterminals/{id} | |
| hydraDetachStoreFromKiosk | DELETE /api/v1.0/{appId}/DetachStoreFromKiosk/{deviceId}/store/{storeId} | |
| hydraGetEmvsForAppId | GET /api/v1.0/{appId}/emvterminals | |
| loginWithDeviceId | POST /api/v1.0/hydra/{deviceId}/login | |
| register | POST /api/v1.0/{appId}/hydra/registration | |
| unAssign | DELETE /api/v1.0/{appId}/hydra/{deviceId}/registration | |
| unassignEmv | POST /api/v1.0/{appId}/hydra/emvterminal/unassign/{hydraConfigId} | |
| updateKioskCashVisibilitySettings | POST /api/v1.0/{appId}/kioskupdatecashsettings | |
| updateKioskSettings | POST /api/v1.0/{appId}/kiosksettings/{deviceId} |
assignEmv(appId, hydraConfigId, emvTerminalId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
Integer hydraConfigId = 56; // Integer |
Integer emvTerminalId = 56; // Integer |
try {
apiInstance.assignEmv(appId, hydraConfigId, emvTerminalId);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#assignEmv");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| hydraConfigId | Integer | ||
| emvTerminalId | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus attachStoreToKiosk(appId, storeId, deviceId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
Integer storeId = 56; // Integer |
String deviceId = "deviceId_example"; // String |
try {
RestApiResultHydraStatus result = apiInstance.attachStoreToKiosk(appId, storeId, deviceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#attachStoreToKiosk");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | Integer | ||
| deviceId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus attachStoreToTerminal(appId, deviceId, storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceId = "deviceId_example"; // String |
Integer storeId = 56; // Integer |
try {
RestApiResultHydraStatus result = apiInstance.attachStoreToTerminal(appId, deviceId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#attachStoreToTerminal");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String | ||
| storeId | Integer |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
cancelEmvPayment(orderId, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
Integer orderId = 56; // Integer |
String appId = "appId_example"; // String |
try {
apiInstance.cancelEmvPayment(orderId, appId);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#cancelEmvPayment");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer | ||
| appId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus detachStoreFromTerminal(appId, deviceId, storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceId = "deviceId_example"; // String |
Integer storeId = 56; // Integer |
try {
RestApiResultHydraStatus result = apiInstance.detachStoreFromTerminal(appId, deviceId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#detachStoreFromTerminal");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String | ||
| storeId | Integer |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
getAblyToken()
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
try {
apiInstance.getAblyToken();
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getAblyToken");
e.printStackTrace();
}This endpoint does not need any parameter.
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraDeviceDetails getAttachedDevice(appId, deviceType, deviceId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceType = "deviceType_example"; // String |
String deviceId = "deviceId_example"; // String |
try {
RestApiResultHydraDeviceDetails result = apiInstance.getAttachedDevice(appId, deviceType, deviceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getAttachedDevice");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceType | String | [enum: Kiosk, Terminal, LegacyPrinter] | |
| deviceId | String |
RestApiResultHydraDeviceDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultHydraDeviceDetails getAttachedDevices(appId, deviceType, pageIndex, pageSize, storeId, deviceName, deviceSerial)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceType = "deviceType_example"; // String |
Integer pageIndex = 56; // Integer |
Integer pageSize = 56; // Integer |
Integer storeId = 56; // Integer |
String deviceName = "deviceName_example"; // String |
String deviceSerial = "deviceSerial_example"; // String |
try {
RestApiPaginationResultHydraDeviceDetails result = apiInstance.getAttachedDevices(appId, deviceType, pageIndex, pageSize, storeId, deviceName, deviceSerial);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getAttachedDevices");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceType | String | [enum: Kiosk, Terminal, LegacyPrinter] | |
| pageIndex | Integer | [optional] | |
| pageSize | Integer | [optional] | |
| storeId | Integer | [optional] | |
| deviceName | String | [optional] | |
| deviceSerial | String | [optional] |
RestApiPaginationResultHydraDeviceDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultPaymentTerminalDetails getEMVTerminalDetails(appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
try {
RestApiResultPaymentTerminalDetails result = apiInstance.getEMVTerminalDetails(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getEMVTerminalDetails");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiResultPaymentTerminalDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultPaymentTerminalTransactionDetails getEmvOrderState(orderId, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
Integer orderId = 56; // Integer |
String appId = "appId_example"; // String |
try {
RestApiResultPaymentTerminalTransactionDetails result = apiInstance.getEmvOrderState(orderId, appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getEmvOrderState");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer | ||
| appId | String |
RestApiResultPaymentTerminalTransactionDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultKioskCashPaymentSettings getKioskCashPaymentSettings(appId, deviceId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceId = "deviceId_example"; // String |
try {
RestApiArrayResultKioskCashPaymentSettings result = apiInstance.getKioskCashPaymentSettings(appId, deviceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getKioskCashPaymentSettings");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String |
RestApiArrayResultKioskCashPaymentSettings
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultKioskSettings getKioskSettings(appId, deviceId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceId = "deviceId_example"; // String |
try {
RestApiResultKioskSettings result = apiInstance.getKioskSettings(appId, deviceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getKioskSettings");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus getRegistration()
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
try {
RestApiResultHydraStatus result = apiInstance.getRegistration();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getRegistration");
e.printStackTrace();
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraConfig getSettings()
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
try {
RestApiResultHydraConfig result = apiInstance.getSettings();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#getSettings");
e.printStackTrace();
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object hydraCreateEmv(appId, emv)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
EmvTerminal emv = new EmvTerminal(); // EmvTerminal |
try {
Object result = apiInstance.hydraCreateEmv(appId, emv);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#hydraCreateEmv");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| emv | EmvTerminal |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
Object hydraDeleteEmv(appId, id)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
Integer id = 56; // Integer |
try {
Object result = apiInstance.hydraDeleteEmv(appId, id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#hydraDeleteEmv");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| id | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus hydraDetachStoreFromKiosk(appId, storeId, deviceId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
Integer storeId = 56; // Integer |
String deviceId = "deviceId_example"; // String |
try {
RestApiResultHydraStatus result = apiInstance.hydraDetachStoreFromKiosk(appId, storeId, deviceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#hydraDetachStoreFromKiosk");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | Integer | ||
| deviceId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultEmvTerminalWithAssignments hydraGetEmvsForAppId(appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
try {
RestApiArrayResultEmvTerminalWithAssignments result = apiInstance.hydraGetEmvsForAppId(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#hydraGetEmvsForAppId");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiArrayResultEmvTerminalWithAssignments
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
loginWithDeviceId(deviceId, hydraUserType, serialNumber)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String deviceId = "deviceId_example"; // String |
String hydraUserType = "hydraUserType_example"; // String |
String serialNumber = "serialNumber_example"; // String |
try {
apiInstance.loginWithDeviceId(deviceId, hydraUserType, serialNumber);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#loginWithDeviceId");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| deviceId | String | ||
| hydraUserType | String | [optional] [enum: Kiosk, Terminal, LegacyPrinter] | |
| serialNumber | String | [optional] |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus register(appId, hydraRegistration)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
HydraRegistrationRequest hydraRegistration = new HydraRegistrationRequest(); // HydraRegistrationRequest |
try {
RestApiResultHydraStatus result = apiInstance.register(appId, hydraRegistration);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#register");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| hydraRegistration | HydraRegistrationRequest |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
unAssign(appId, deviceId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceId = "deviceId_example"; // String |
try {
apiInstance.unAssign(appId, deviceId);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#unAssign");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
unassignEmv(appId, hydraConfigId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
Integer hydraConfigId = 56; // Integer |
try {
apiInstance.unassignEmv(appId, hydraConfigId);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#unassignEmv");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| hydraConfigId | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
updateKioskCashVisibilitySettings(appId, deviceId, isCashEnabled)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceId = "deviceId_example"; // String |
Boolean isCashEnabled = true; // Boolean |
try {
apiInstance.updateKioskCashVisibilitySettings(appId, deviceId, isCashEnabled);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#updateKioskCashVisibilitySettings");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String | ||
| isCashEnabled | Boolean |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
updateKioskSettings(appId, deviceId, settings)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.HydraApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
HydraApi apiInstance = new HydraApi();
String appId = "appId_example"; // String |
String deviceId = "deviceId_example"; // String |
KioskSettings settings = new KioskSettings(); // KioskSettings |
try {
apiInstance.updateKioskSettings(appId, deviceId, settings);
} catch (ApiException e) {
System.err.println("Exception when calling HydraApi#updateKioskSettings");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String | ||
| settings | KioskSettings |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml