# Получение пары

## Получение информации о паре платежных систем

<mark style="color:green;">`GET`</mark> /calculator/pair/\<from-paysystem-id:int>/\<to-paysystem-id:int>/

**Headers**

<table><thead><tr><th>Name</th><th>Value</th><th data-type="checkbox">Обязательное</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td><td>true</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    // общее уведомление для пары
    "notify": "",
    // html инструкция к направлению
    "instruction": "<p>Тест</p>",
    // характеристики для платежной системы которую отдает клиент
    "from": {
        // уведомление со стороны отдач
        "notify": "",
        // минимальная сумма float
        "min": 0,
        // минимальная сумма если по верификации курс float
        "minVerification": 0,
        // максимальная сумма float
        "max": 200000.0,
        // валюта
        "currency": "rub",
        // округление суммы в информации для клиента uint
        "round": 2,
        // округление суммы в инпуте ввода сумм uint
        "roundCalculator": 2,
        // код платежной системы в мониторинга
        "monitoringCode": "ADVCRUB"
    },
    "to": {
        "notify": "",
        "min": 4.0,
        "minVerification": 7.0,
        "max": 3000.0,
        "currency": "usd",
        "round": 2,
        "roundCalculator": 2,
        "monitoringCode": "ADVCUSD"
    },
    // описание структуры полей у пары
    "structure": {
        "from": {
            "currency": [
                {
                    "id": 19,
                    "currency": "rub",
                    "active": true
                },
                {
                    "id": 20,
                    "currency": "usd",
                    "active": false
                },
                {
                    "id": 65,
                    "currency": "eur",
                    "active": false
                }
            ],
            "input": [
                {
                    "type": "text",
                    "name": "wallet",
                    "send": {
                        "header": "",
                        "placeholder": "Кошелёк AdvCash без пробелов",
                        "error": "Введите кошелёк AdvCash",
                        "visible": true,
                        "algValidate": false
                    },
                    "receive": {
                        "header": "",
                        "placeholder": "Кошелёк AdvCash без пробелов",
                        "error": "Введите кошелёк AdvCash",
                        "visible": true,
                        "algValidate": false
                    },
                    "optionList": [],
                    "regex": "^R{1}[0-9]{7,20}$"
                }
            ],
            "network": [],
            "city": []
        },
        "to": {
            "currency": [
                {
                    "id": 20,
                    "currency": "usd",
                    "active": true
                },
                {
                    "id": 65,
                    "currency": "eur",
                    "active": false
                }
            ],
            "input": [
                {
                    "type": "text",
                    "name": "wallet",
                    "send": {
                        "header": "",
                        "placeholder": "Кошелёк AdvCash без пробелов",
                        "error": "Введите кошелёк AdvCash",
                        "visible": true,
                        "algValidate": false
                    },
                    "receive": {
                        "header": "",
                        "placeholder": "Кошелёк AdvCash без пробелов",
                        "error": "Введите кошелёк AdvCash",
                        "visible": true,
                        "algValidate": false
                    },
                    "optionList": [],
                    "regex": "^U{1}[0-9]{7,20}$"
                }
            ],
            "network": [],
            "city": []
        },
        // загруженность сети если крипта
        "congestion": null,
        // нужна ли капча для этого направления
        "capcha": false
    },
    // тип пары simple, cash, invoice
    "type": "cash"
}
```

{% endtab %}

{% tab title="404" %}

```
{}
```

{% endtab %}
{% endtabs %}


---

# 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://exchangerretp4lrpg6lp2.mikroservis.one/v2/kalkulyator/poluchenie-pary.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.
