# Детали операций

Эндпоинт предназначен для получения деталей операций для валют

#### HTTP Request <a href="#http-request-3" id="http-request-3"></a>

`GET`

`https://alfabit.org/api/v1/cashe/operations/detail/{money_in}/{money_out}/`

#### Параметры запроса <a href="#id-88964dca07-2" id="id-88964dca07-2"></a>

| Параметр       | Обязательный | Описание           |
| -------------- | ------------ | ------------------ |
| **money\_in**  | да           | Отдаваемая валюта  |
| **money\_out** | да           | Принимаемая валюта |

#### Схема ответа <a href="#id-51c9aea103-3" id="id-51c9aea103-3"></a>

| Параметр                   | Тип поля | Описание                                                                    |
| -------------------------- | -------- | --------------------------------------------------------------------------- |
| **position\_num\_right**   | int      | Позиция в списке отдаваемых валют для сортировки                            |
| **buy\_currency**          | dict     | Информация о валюте для покупки                                             |
| **id**                     | int      | ID валюты                                                                   |
| **aditional\_fields**      | list     | Дополнительные поля для валюты (например, memo\_tag, идентификаторы банков) |
| **code**                   | str      | Код валюты                                                                  |
| **fiat\_code**             | str      | Код фиатной валюты                                                          |
| **re**                     | str      | Регулярное выражение для валюты                                             |
| **label\_buy**             | str      | Сообщение для поля Получаю                                                  |
| **label\_sell**            | str      | Сообщение для поля Отдаю                                                    |
| **exemple**                | str      | Пример адреса/номера кошелька                                               |
| **error\_message**         | str      | Сообщение для ошибки ввода реквизитов                                       |
| **payment\_features**      | str      | Информация особенностей оплаты                                              |
| **reception\_features**    | str      | Информация особенностей приема                                              |
| **exponent**               | int      | Кол-во знаков после запятой                                                 |
| **currency\_type**         | str      | Тип валюты. FIAT (фиатные валюты) COIN (криптовалюты) CASH (наличные)       |
| **isAskReqSell**           | bool     | Запрос реквизитов для поля Отдаю                                            |
| **isAskReqBuy**            | bool     | Запрос реквизитов для поля Получаю                                          |
| **reserv\_data**           | dict     | Данные резерва                                                              |
| **data**                   | dict     | Подробные данные резерва                                                    |
| **value**                  | float    | Значение резерва                                                            |
| **time**                   | float    | Время фиксации резерва                                                      |
| **next**                   | float    | Следующее время фиксации резерва                                            |
| **duration**               | int      | Периодичность обновления курса                                              |
| **position\_num\_left**    | int      | Позиция в списке принимаемых валют для сортировки                           |
| **min\_buy**               | int      | Минимальная сумма для обмена                                                |
| **min\_sell**              | int      | Минимальная сумма для получения                                             |
| **max\_buy**               | int      | Максимальная сумма для обмена                                               |
| **max\_sell**              | int      | Максимальная сумма для получения                                            |
| **multiplicity\_in**       | int      | Кратность суммы на ввод                                                     |
| **multiplicity\_out**      | int      | Кратность суммы на вывод                                                    |
| **requisite\_verif**       | bool     | Проверять реквизиты                                                         |
| **view\_comment**          | bool     | Показывать комментарии к заказу                                             |
| **view\_pay\_button**      | bool     | Показывать кнопку "Я оплатил"                                               |
| **view\_qr\_code**         | bool     | Показывать qr код в заказе                                                  |
| **min\_value\_if\_sell**   | bool     | Показывать минимальную сумму для обмена                                     |
| **min\_value\_if\_buy**    | bool     | Показывать минимальную сумму для получения                                  |
| **max\_value\_if\_sell**   | bool     | Показывать максимальную сумму для обмена                                    |
| **max\_value\_if\_buy**    | bool     | Показывать максимальную сумму для получения                                 |
| **cities**                 | str      | Доступные города для обмена наличных                                        |
| **require\_check\_upload** | bool     | Проверка чека после оплаты                                                  |
| **hedging\_from**          | str      | Валюта, которую хэджировать                                                 |
| **hedging\_to**            | str      | Валюта, в которую хэджировать                                               |
| **use\_hadge**             | bool     | Использовать хэджирование                                                   |
| **repurchase**             | bool     | Использовать докупку                                                        |
| **repurchase\_coin\_out**  | str      | За какую валюту докупать                                                    |
| **view\_cancel\_button**   | bool     | Показывать кнопку отменить заказ                                            |
| **count\_minutes\_pay**    | int      | Время фиксации курса в минутах                                              |
| **reserv\_value**          | float    | Сумма резерва                                                               |
| **bestchange\_code**       | str      | Общепринятный код валюты                                                    |
| **position\_num\_right**   | int      | Позиция в списке отдаваемых валют для сортировки                            |
| **exchange\_rate**         | float    | Курс обмена                                                                 |
| **sell\_currency**         | dict     | Информация о валюте для продажи                                             |
| **min\_money1**            | str      | Минимальная сумма для валюты Отдаю                                          |
| **max\_money1**            | str      | Максимальная сумма для валюты Отдаю                                         |
| **min\_money2**            | int      | Минимальная сумма для валюты Получаю                                        |
| **max\_money2**            | int      | Максимальная сумма для валюты Получаю                                       |
| **features\_operations**   | str      | Сообщение с кол-вом подтверждений                                           |
| **turn\_the\_course**      | bool     |                                                                             |
| **rate\_data**             | dict     | Данные для курса                                                            |
| **time**                   | float    | Время фиксации курса                                                        |
| **next**                   | float    | Следующее время фиксации курса                                              |
| **duration**               | int      | Переодичность обновления курса                                              |
| **position**               | int      | Позиция курса                                                               |
| **money1\_best\_code**     | str      | Бестчендж код валюты для обмена                                             |
| **money2\_best\_code**     | str      | Бестчендж код валюты для получения                                          |
| **rateGive**               | int      | Курс в поле Отдаю                                                           |
| **rateReceive**            | float    | Курс в поле Получаю                                                         |
| **city**                   | list     | Доступные города для обмена наличных                                        |
| **exchange\_rate**         | str      | Курс в заказе                                                               |

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

```
curl --location 'https://alfabit.org/api/v1/cashe/operations/detail/Bitcoin(BTC)/TestCurrency/'
```

Пример ответа

```
{
"position_num_right": 1,
"buy_currency": {
    "id": 1,
    "aditional_fields": [ ],
    "code": "TestCurrency",
    "bestchange_code": "TEST",
    "fiat_code": "USD",
    "re": "^(7|38|77)\(?([0-9]{3})\)?[-.•]?([0-9]{3})[-.•]?([0-9]{4})$",
    "label_buy": "Ваш номер кошелька",
    "label_sell": "Ваш номер кошелька",
    "exemple": "79123456789",
    "error_message": "Некорректный номер кошелька",
    "payment_features": "",
    "reception_features": "",
    "exponent": 2,
    "currency_type": "FIAT",
    "isAskReqSell": true,
    "isAskReqBuy": true,
    "use_reserv_type": "API",
    "reserv_data": {
        "data": {
            "value": 1238158.2,
            "time": 1680687967.480579,
            "next": 1680687987.480589,
            "duration": 20
        }
    },
    "position_num_left": 1,
    "min_sell": 5000,
    "max_sell": 300000,
    "min_buy": 5000,
    "max_buy": 300000,
    "requisite_verif": false,
    "view_comment": false,
    "view_pay_button": true,
    "view_qr_code": true,
    "min_value_if_sell": true,
    "min_value_if_buy": true,
    "max_value_if_sell": true,
    "max_value_if_buy": true,
    "multiplicity_in": 100,
    "multiplicity_in": 10,
    "cities": "",
    "require_check_upload": false,
    "hedging_from": null,
    "hedging_to": null,
    "use_hadge": false,
    "repurchase": false,
    "repurchase_coin_out": "",
    "view_cancel_button": true,
    "count_minutes_pay": 15,
    "reserv_value": 2248410.06
    },
"sell_currency": {
    "id": 41,
    "aditional_fields": [ ],
    "code": "Bitcoin(BTC)",
    "bestchange_code": "BTC",
    "fiat_code": null,
    "re": "^(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})$",
    "label_buy": "Ваш адрес кошелька",
    "label_sell": null,
    "exemple": "3QiqLBDCFYaCt6JAGr48DdHRmrsVqznU7H",
    "error_message": "Некорректный номер кошелька",
    "payment_features": "<p data-renderer-start-pos="156" id="isPasted" style='margin: 0.75rem 0px 0px; padding: 0px; font-size: 16px; line-height: 1.714; font-weight: 400; letter-spacing: -0.005em; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'>Курс в заявке фиксируется на 15 минут. Средства будут зачислены после 3 подтверждений сети. &nbsp;</p><p data-renderer-start-pos="250" style='margin: 0.75rem 0px 0px; padding: 0px; font-size: 16px; line-height: 1.714; font-weight: 400; letter-spacing: -0.005em; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'>Все входящие активы получают оценку риска, проходя AML проверку на основании<a data-renderer-mark="true" href='https://alfabit.org/ru/docs/custom-referral" rel="noopener noreferrer" style="color: var(--ds-link, #0052CC); text-decoration: none;" target="_blank" title="https://alfabit.org/ru/custom-referral"><u data-renderer-mark="true">&nbsp;Пользовательского Соглашения П.8.5. и П.9.4.</u></a> и<a data-renderer-mark="true" href="https://alfabit.org/ru/docs/aml" rel="noopener noreferrer" style="color: var(--ds-link, #0052CC); text-decoration: none;" target="_blank" title="https://alfabit.org/ru/aml"><u data-renderer-mark="true">&nbsp;AML политики</u></a> с помощью сервиса <a data-renderer-mark="true" href="https://t.me/AlfaBitAml_bot" rel="noopener noreferrer" style="color: var(--ds-link, #0052CC); text-decoration: none;" target="_blank" title="https://aml.alfabit.org/"><u data-renderer-mark="true">Alfabit AML</u></a>. Если сумма активов окажется меньше минимальной суммы обмена, обмен будет приостановлен. В возврате средств клиенту будет отказано</p><p data-f-id="pbf" style="text-align: center; font-size: 14px; margin-top: 30px; opacity: 0.65; font-family: sans-serif;">Powered by <a href="https://www.froala.com/wysiwyg-editor?pb=1" title="Froala Editor">Froala Editor</a></p>',
    "reception_features": "<p data-renderer-start-pos="422" id="isPasted">Выплата производится в <strong>автоматическом</strong> режиме с биржи Binance и занимает 0-45 мин.&nbsp;</p><p data-renderer-start-pos="506">Скорость подтверждения транзакции <strong>НЕ</strong> зависит от нашего сервиса.&nbsp;</p><p data-renderer-start-pos="572">За технический сбой выводов с данной биржи сервис ответственности не несет.</p><p data-f-id="pbf" style="text-align: center; font-size: 14px; margin-top: 30px; opacity: 0.65; font-family: sans-serif;">Powered by <a href='https://www.froala.com/wysiwyg-editor?pb=1" title="Froala Editor">Froala Editor</a></p>',
    "exponent": 8,
    "currency_type": "COIN",
    "isAskReqSell": false,
    "isAskReqBuy": true,
    "use_reserv_type": "API",
    "reserv_data": {
        "data": {
            "value": 44.0030195538199,
            "time": 1680689331.921519,
            "next": 1680689351.921533,
            "duration": 20
        }
    },
    "position_num_left": 28,
    "min_sell": 0.0035,
    "max_sell": 1.5211,
    "min_buy": 0.0035,
    "max_buy": 1.3,
    "requisite_verif": false,
    "view_comment": false,
    "view_pay_button": true,
    "view_qr_code": true,
    "min_value_if_sell": false,
    "min_value_if_buy": false,
    "max_value_if_sell": false,
    "max_value_if_buy": false,
    "cities": "",
    "require_check_upload": false,
    "hedging_from": "btc",
    "hedging_to": "usdt",
    "use_hadge": true,
    "repurchase": true,
    "repurchase_coin_out": "USDT",
    "view_cancel_button": true,
    "count_minutes_pay": 15,
    "reserv_value": 44.034037082623996
    },
    "min_money1": "0.00220567",
    "max_money1": "0.13234004",
    "min_money2": 5000,
    "max_money2": 300000,
    "features_operations": "Выплата происходит после 3-ого подтверждения в сети Bitcoin.",
    "requisite_verif": false,
    "isAskReqSell": false,
    "isAskReqBuy": true,
    "turn_the_course": false,
    "view_comment": false,
    "view_pay_button": true,
    "view_qr_code": true,
    "rate_data": {
        "time": 1680701435784,
        "next": 1680701455784,
        "duration": 20,
        "position": 1,
        "money1_best_code": "BTC",
        "money2_best_code": "TEST",
        "rateGive": 1,
        "rateReceive": 2286006.63518464,
        "value": 2266887.627,
        "money1": "BTC",
        "money2": "TEST"
},
"count_minutes_pay": 15,
"require_check_upload": false,
"hedging_from": "btc",
"hedging_to": "usdt",
"use_hadge": true,
"repurchase": false,
"repurchase_coin_out": "",
"city": [ ],
"exchange_rate": 2266887.627
}
```

{% endtab %}

{% tab title="Python" %}

```
import requests

url = "https://alfabit.org/api/v1/cashe/operations/detail/Bitcoin(BTC)/TestCurrency/"

payload={}
headers = {}

response = requests.request("GET", url, headers=headers, data=payload)
```

Пример ответа

```
{
"position_num_right": 1,
"buy_currency": {
    "id": 1,
    "aditional_fields": [ ],
    "code": "TestCurrency",
    "bestchange_code": "TEST",
    "fiat_code": "USD",
    "re": "^(7|38|77)\(?([0-9]{3})\)?[-.•]?([0-9]{3})[-.•]?([0-9]{4})$",
    "label_buy": "Ваш номер кошелька",
    "label_sell": "Ваш номер кошелька",
    "exemple": "79123456789",
    "error_message": "Некорректный номер кошелька",
    "payment_features": "",
    "reception_features": "",
    "exponent": 2,
    "currency_type": "FIAT",
    "isAskReqSell": true,
    "isAskReqBuy": true,
    "use_reserv_type": "API",
"reserv_data": {
    "data": {
        "value": 1238158.2,
        "time": 1680687967.480579,
        "next": 1680687987.480589,
        "duration": 20
    }
},
"position_num_left": 1,
"min_sell": 5000,
"max_sell": 300000,
"min_buy": 5000,
"max_buy": 300000,
"requisite_verif": false,
"view_comment": false,
"view_pay_button": true,
"view_qr_code": true,
"min_value_if_sell": true,
"min_value_if_buy": true,
"max_value_if_sell": true,
"max_value_if_buy": true,
"cities": "",
"require_check_upload": false,
"hedging_from": null,
"hedging_to": null,
"use_hadge": false,
"repurchase": false,
"repurchase_coin_out": "",
"view_cancel_button": true,
"count_minutes_pay": 15,
"reserv_value": 2248410.06
},
"sell_currency": {
    "id": 41,
    "aditional_fields": [ ],
    "code": "Bitcoin(BTC)",
    "bestchange_code": "BTC",
    "fiat_code": null,
    "re": "^(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})$",
    "label_buy": "Ваш адрес кошелька",
    "label_sell": null,
    "exemple": "3QiqLBDCFYaCt6JAGr48DdHRmrsVqznU7H",
    "error_message": "Некорректный номер кошелька",
    "payment_features": "<p data-renderer-start-pos="156" id="isPasted" style='margin: 0.75rem 0px 0px; padding: 0px; font-size: 16px; line-height: 1.714; font-weight: 400; letter-spacing: -0.005em; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'>Курс в заявке фиксируется на 15 минут. Средства будут зачислены после 3 подтверждений сети. &nbsp;</p><p data-renderer-start-pos="250" style='margin: 0.75rem 0px 0px; padding: 0px; font-size: 16px; line-height: 1.714; font-weight: 400; letter-spacing: -0.005em; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'>Все входящие активы получают оценку риска, проходя AML проверку на основании<a data-renderer-mark="true" href='https://alfabit.org/ru/docs/custom-referral" rel="noopener noreferrer" style="color: var(--ds-link, #0052CC); text-decoration: none;" target="_blank" title="https://alfabit.org/ru/custom-referral"><u data-renderer-mark="true">&nbsp;Пользовательского Соглашения П.8.5. и П.9.4.</u></a> и<a data-renderer-mark="true" href="https://alfabit.org/ru/docs/aml" rel="noopener noreferrer" style="color: var(--ds-link, #0052CC); text-decoration: none;" target="_blank" title="https://alfabit.org/ru/aml"><u data-renderer-mark="true">&nbsp;AML политики</u></a> с помощью сервиса <a data-renderer-mark="true" href="https://t.me/AlfaBitAml_bot" rel="noopener noreferrer" style="color: var(--ds-link, #0052CC); text-decoration: none;" target="_blank" title="https://aml.alfabit.org/"><u data-renderer-mark="true">Alfabit AML</u></a>. Если сумма активов окажется меньше минимальной суммы обмена, обмен будет приостановлен. В возврате средств клиенту будет отказано</p><p data-f-id="pbf" style="text-align: center; font-size: 14px; margin-top: 30px; opacity: 0.65; font-family: sans-serif;">Powered by <a href="https://www.froala.com/wysiwyg-editor?pb=1" title="Froala Editor">Froala Editor</a></p>',
    "reception_features": "<p data-renderer-start-pos="422" id="isPasted">Выплата производится в <strong>автоматическом</strong> режиме с биржи Binance и занимает 0-45 мин.&nbsp;</p><p data-renderer-start-pos="506">Скорость подтверждения транзакции <strong>НЕ</strong> зависит от нашего сервиса.&nbsp;</p><p data-renderer-start-pos="572">За технический сбой выводов с данной биржи сервис ответственности не несет.</p><p data-f-id="pbf" style="text-align: center; font-size: 14px; margin-top: 30px; opacity: 0.65; font-family: sans-serif;">Powered by <a href='https://www.froala.com/wysiwyg-editor?pb=1" title="Froala Editor">Froala Editor</a></p>',
    "exponent": 8,
    "currency_type": "COIN",
    "isAskReqSell": false,
    "isAskReqBuy": true,
    "use_reserv_type": "API",
"reserv_data": {
    "data": {
        "value": 44.0030195538199,
        "time": 1680689331.921519,
        "next": 1680689351.921533,
        "duration": 20
    }
},
"position_num_left": 28,
"min_sell": 0.0035,
"max_sell": 1.5211,
"min_buy": 0.0035,
"max_buy": 1.3,
"requisite_verif": false,
"view_comment": false,
"view_pay_button": true,
"view_qr_code": true,
"min_value_if_sell": false,
"min_value_if_buy": false,
"max_value_if_sell": false,
"max_value_if_buy": false,
"cities": "",
"require_check_upload": false,
"hedging_from": "btc",
"hedging_to": "usdt",
"use_hadge": true,
"repurchase": true,
"repurchase_coin_out": "USDT",
"view_cancel_button": true,
"count_minutes_pay": 15,
"reserv_value": 44.034037082623996
},
"min_money1": "0.00220567",
"max_money1": "0.13234004",
"min_money2": 5000,
"max_money2": 300000,
"features_operations": "Выплата происходит после 3-ого подтверждения в сети Bitcoin.",
"requisite_verif": false,
"isAskReqSell": false,
"isAskReqBuy": true,
"turn_the_course": false,
"view_comment": false,
"view_pay_button": true,
"view_qr_code": true,
"rate_data": {
    "time": 1680701435784,
    "next": 1680701455784,
    "duration": 20,
    "position": 1,
    "money1_best_code": "BTC",
    "money2_best_code": "TEST",
    "rateGive": 1,
    "rateReceive": 2286006.63518464,
    "value": 2266887.627,
    "money1": "BTC",
    "money2": "TEST"
},
"count_minutes_pay": 15,
"require_check_upload": false,
"hedging_from": "btc",
"hedging_to": "usdt",
"use_hadge": true,
"repurchase": false,
"repurchase_coin_out": "",
"city": [ ],
"exchange_rate": 2266887.627
}
```

{% 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://alfabit.gitbook.io/alfabit-exchange/detali-operacii.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.
