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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let hydraConfigId = 56; // Number |
let emvTerminalId = 56; // Number |
apiInstance.assignEmv(appId, hydraConfigId, emvTerminalId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| hydraConfigId | Number | ||
| emvTerminalId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus attachStoreToKiosk(appId, storeId, deviceId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let storeId = 56; // Number |
let deviceId = "deviceId_example"; // String |
apiInstance.attachStoreToKiosk(appId, storeId, deviceId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | Number | ||
| deviceId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultHydraStatus attachStoreToTerminal(appId, deviceId, storeId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceId = "deviceId_example"; // String |
let storeId = 56; // Number |
apiInstance.attachStoreToTerminal(appId, deviceId, storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String | ||
| storeId | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
cancelEmvPayment(orderId, appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let orderId = 56; // Number |
let appId = "appId_example"; // String |
apiInstance.cancelEmvPayment(orderId, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Number | ||
| 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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceId = "deviceId_example"; // String |
let storeId = 56; // Number |
apiInstance.detachStoreFromTerminal(appId, deviceId, storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String | ||
| storeId | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
getAblyToken()
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
apiInstance.getAblyToken((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceType = "deviceType_example"; // String |
let deviceId = "deviceId_example"; // String |
apiInstance.getAttachedDevice(appId, deviceType, deviceId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceType | String | ||
| deviceId | String |
RestApiResultHydraDeviceDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiPaginationResultHydraDeviceDetails getAttachedDevices(appId, deviceType, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceType = "deviceType_example"; // String |
let opts = {
'pageIndex': 56, // Number |
'pageSize': 56, // Number |
'storeId': 56, // Number |
'deviceName': "deviceName_example", // String |
'deviceSerial': "deviceSerial_example" // String |
};
apiInstance.getAttachedDevices(appId, deviceType, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceType | String | ||
| pageIndex | Number | [optional] | |
| pageSize | Number | [optional] | |
| storeId | Number | [optional] | |
| deviceName | String | [optional] | |
| deviceSerial | String | [optional] |
RestApiPaginationResultHydraDeviceDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultPaymentTerminalDetails getEMVTerminalDetails(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
apiInstance.getEMVTerminalDetails(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiResultPaymentTerminalDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultPaymentTerminalTransactionDetails getEmvOrderState(orderId, appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let orderId = 56; // Number |
let appId = "appId_example"; // String |
apiInstance.getEmvOrderState(orderId, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Number | ||
| appId | String |
RestApiResultPaymentTerminalTransactionDetails
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultKioskCashPaymentSettings getKioskCashPaymentSettings(appId, deviceId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceId = "deviceId_example"; // String |
apiInstance.getKioskCashPaymentSettings(appId, deviceId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String |
RestApiArrayResultKioskCashPaymentSettings
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultKioskSettings getKioskSettings(appId, deviceId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceId = "deviceId_example"; // String |
apiInstance.getKioskSettings(appId, deviceId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| deviceId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultHydraStatus getRegistration()
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
apiInstance.getRegistration((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultHydraConfig getSettings()
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
apiInstance.getSettings((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
Object hydraCreateEmv(appId, emv)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let emv = new Flipdish.EmvTerminal(); // EmvTerminal |
apiInstance.hydraCreateEmv(appId, emv, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| 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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let id = 56; // Number |
apiInstance.hydraDeleteEmv(appId, id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| id | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultHydraStatus hydraDetachStoreFromKiosk(appId, storeId, deviceId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let storeId = 56; // Number |
let deviceId = "deviceId_example"; // String |
apiInstance.hydraDetachStoreFromKiosk(appId, storeId, deviceId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | Number | ||
| deviceId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultEmvTerminalWithAssignments hydraGetEmvsForAppId(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
apiInstance.hydraGetEmvsForAppId(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiArrayResultEmvTerminalWithAssignments
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
loginWithDeviceId(deviceId, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let deviceId = "deviceId_example"; // String |
let opts = {
'hydraUserType': "hydraUserType_example", // String |
'serialNumber': "serialNumber_example" // String |
};
apiInstance.loginWithDeviceId(deviceId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| deviceId | String | ||
| hydraUserType | String | [optional] | |
| 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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let hydraRegistration = new Flipdish.HydraRegistrationRequest(); // HydraRegistrationRequest |
apiInstance.register(appId, hydraRegistration, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| 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, Data
unAssign(appId, deviceId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceId = "deviceId_example"; // String |
apiInstance.unAssign(appId, deviceId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| 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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let hydraConfigId = 56; // Number |
apiInstance.unassignEmv(appId, hydraConfigId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| hydraConfigId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
updateKioskCashVisibilitySettings(appId, deviceId, isCashEnabled)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceId = "deviceId_example"; // String |
let isCashEnabled = true; // Boolean |
apiInstance.updateKioskCashVisibilitySettings(appId, deviceId, isCashEnabled, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| 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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.HydraApi();
let appId = "appId_example"; // String |
let deviceId = "deviceId_example"; // String |
let settings = new Flipdish.KioskSettings(); // KioskSettings |
apiInstance.updateKioskSettings(appId, deviceId, settings, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| 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