# 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)
    }
})
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.tokeninc.com/token-developer-portal-1/payment-service/payment-solutions/cyprus-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
