# Рассрочка от ПриватБанка

### **Рассрочка от ПриватБанка на 10 месяцев**

### **Сервис создания заявки:**

POST /fast-credit/api/order/create

Host: <https://payparts2.privatbank.ua>

Content-Type: application/json;charset=UTF-8

### **Входящие параметры:**

| **параметр**  | **описание**                                                           | **обязательный** |
| ------------- | ---------------------------------------------------------------------- | ---------------- |
| **agent\_id** | ИД Агента в системе. Статический, постоянный параметр, выдается банком | да               |
| **phone**     | телефон клиента, формат с +380                                         | да               |
| **inn**       | ИНН клиента                                                            | да               |
| **fio**       | ФИО клиента                                                            | да               |
| **sum**       | желаемая сумма кредита                                                 | да               |
| **trud**      | Тип трудоустройств&#x430;**\***                                        | нет              |
| **celcred**   | Цель кредит&#x430;**\*\***                                             | нет              |
| **city**      | город                                                                  | нет              |
| **email**     | имейл клиента                                                          | нет              |
| **pass**      | пароль агента. Статический, постоянный параметр, выдается банком       | да               |

**\*Тип трудоустройства.Возможные значения**:

| **official**        | Работаю официально                        |
| ------------------- | ----------------------------------------- |
| **officialPrivate** | Работаю официально на фирме через СПД/ФЛП |
| **private**         | СПД/ФЛП                                   |
| **unofficial**      | Работаю неофициально                      |
| **maternityLeave**  | Декретный отпуск                          |
| **pensioner**       | Пенсионер                                 |
| **no**              | Не работаю                                |

**\*\*Цель кредита. Возможные значения:**

| **5**  | Покупка подержанного авто      |
| ------ | ------------------------------ |
| **8**  | Ремонт/покупка техники, мебели |
| **25** | Деньги под залог авто          |
| **11** | На лечение                     |
| **3**  | Бизнес                         |
| **7**  | Погашение другого кредита      |
| **10** | Деньги до зарплаты             |
| **99** | Другое                         |

### **Исходящие параметры**

| **параметр** | **описание**                                                  |
| ------------ | ------------------------------------------------------------- |
| **status**   | статус обработки запроса. OK/FAIL                             |
| **res**      | результат принятия заявки. варианты accept, duplicate, refuse |
| **message**  | сообщение об ошибке                                           |

\================================================================================

## **Примеры**

### **Запрос**

```javascript
{
    "agent_id":"012345",
    "phone":"+380970012233",
    "inn":"10234567890",
    "fio":"Тест Тест Тест",
    "sum":"7000",
    "trud":"pensioner",
    "celcred":"99",
    "city":"Днепр",
    "email":"i@i.ua",
    "pass":"35d4d44d4d"
}
```

### **Успех**

```javascript
{
    "status":"OK",
    "res":"ACCEPT"
}
```

## **Ошибки**

### **1 Дубликат заявки**

```javascript
{
    "status": "FAIL",
    "res": "DUPLICATE",
    "message": "duplicate order"
}
```

### **2 не указан обязательный параметр \[ параметр]**

```javascript
{
    "status":"FAIL",
    "res":"REFUSE",
    "message":"Check request param [celcred]"
}
```


---

# 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://pbdocs.gitbook.io/rassrochka-ot-privatbanka/master.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.
