> For the complete documentation index, see [llms.txt](https://developer.tokeninc.com/token-developer-portal-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.tokeninc.com/token-developer-portal-1/payment-service/payment-solutions/cyprus-integration.md).

# Cyprus Integration

### Setup

During the Setup process, the IP configuration should be adjusted according to the values below.

| 195.87.189.161 | Cyprus Payment Test |
| -------------- | ------------------- |
| 195.87.189.163 | Cyprus Payment Prod |

<div align="left"><figure><img src="/files/qf5dXOWAI55fo1y5l3Hy" alt="" width="375"><figcaption></figcaption></figure></div>

### Device Info&#x20;

It is used to obtain information about the device mode.

```kotlin
public enum PosModeEnum {
    VUK507,
    POS,
    GIB,
    ECR,
    EFT_POS,
    RESERVED_0,
    RESERVED_1,
    RESERVED_2,
    RESERVED_3,
    RESERVED_4,
    CY // CYPRUS    
}
```

**Method 1:**

```kotlin
val deviceInfo = DeviceInfo(this)
deviceInfo.getFields(
        { fields ->
            if (fields == null) return
            Log.i("Example 1", "Operation Mode: " + fields.get(0))
            // fields.get(0) == 10 for Cyprus
        },
        DeviceInfo.Field.OPERATION_MODE
)

```

**Method 2:**&#x20;

```kotlin
val deviceInfo = DeviceInfo(this)
deviceInfo.getOperationMode(object : DeviceInfoResponseHandler {
    override fun onSuccess(result: String) {
        Log.i("Operation Mode", result)
         // result == "10" for Cyprus
    }

    override fun onFail(errMessage: String) {
        Log.i("Error Message", errMessage)
    }
})
```
