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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
