> For the complete documentation index, see [llms.txt](https://docs.lotex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lotex.io/types/payout.md).

# Создание вывода

<mark style="color:green;">`POST`</mark> `/api/v1/merch/create/payout`

**Используются заголовки авторизации**

**Body**

| Name                                           | Type   | Description                                                                                                           |
| ---------------------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------- |
| `amount`<mark style="color:red;">`*`</mark>    | number | Сумма вывода                                                                                                          |
| `type`<mark style="color:red;">`*`</mark>      | string | Тип оплаты, доступные варианты представлены в конце страницы                                                          |
| `requisite`<mark style="color:red;">`*`</mark> | string | Реквизит для перевода                                                                                                 |
| `bank`                                         | string | Банк для перевода в виде кода НСПК (`100000000111`) или `name` из метода [Банки](broken://pages/shOlhrDKlgUcwU24glRU) |
| `full_name`                                    | string | ФИО получателя                                                                                                        |
| `webhook_url`                                  | string | Ссылка, на которую будет направлен callback со статусом вывода                                                        |
| `currency`                                     | string | Валюта оплаты, доступные варианты представлены в конце страницы                                                       |
| `order_id`                                     | string | Указание id платежа в Вашей системе. При изменении статуса платежа также будет передаваться в callback                |
| `customer`                                     | object | Информация о клиенте                                                                                                  |
| `customer.ifsc`                                | string | <p>Банковский код. </p><p></p><p>Обязателен для указания при методе BankTransfer <em>с</em> валютой <em>INR</em></p>  |

**Response**

{% tabs %}
{% tab title="201 H2H" %}

```json
{
    "id": "fv8rojewh93d8-4y53w-03iscvdzkfsik1jbj30n7j",
    "amount": 5000.0,
    "amount_usdt": 55.55555555555556,
    "rate": 90.0,
    "type": "SBP"
}
```

{% endtab %}

{% tab title="400" %}

```
В ответе будет содержаться поле, по которому возникла ошибка
```

{% endtab %}
{% endtabs %}

### Типы оплаты

* `C2C`
* `SBP`
* `BankTransfer`
* `IBAN`
* `E-Wallet`
* `UPI`

### Доступные валюты

* `RUB`
* `TJS`
* `AZN`
* `KGS`
* `UZS`
* `KGS`
* `TRY`
* `EGP`
* `KZT`
* `MAD`
* `SYP`
* `VES`
* `MDL`
* `AED`
* `SAR`
* `INR`&#x20;
* `LBP`&#x20;
* `VND`&#x20;
* `BRL`&#x20;


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lotex.io/types/payout.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
