> For the complete documentation index, see [llms.txt](https://docs.tarlanpayments.kz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tarlanpayments.kz/az/t-lem-shlyuzi/t-lem-zh-iesini-webhook/a-y-t-leudi-zh-rgizuge-zirlik.md).

# Ақы төлеуді жүргізуге әзірлік

Әдіс жоба жағынан тапсырысты төлеуді растауға арналған.

Жүйе жобаның confirm\_url-не іске қосуға сауал жібереді және мынадай міндетті параметрлері бар жауап күтеді: `id`, `status`, `message`, `is_payble`.

Егер `confirm_url`  параметрі төлем бастамашылығы кезінде берілсе, әдіс пысықталады.

### Backoff Policy

Жауап алу кепілдіктерін ұлғайту үшін сауалдарды орындау кезінде BackOff саясаттар пайдаланылады:

* InitialInterval = 500 \* time.Millisecond, қайталама сұрау аралықтары
* RandomizationFactor = 0.5,  қайталау арасындағы сұраныс уақытының таралуы
* MaxInterval = 60 \* time.Second, қайталау арасындағы максималды уақыт&#x20;
* MaxElapsedTime = 10 \* time.Minute, талпыныстар жасалатын уақыт

<mark style="color:blue;">`GET`</mark> `https://merchant-website/confirm`

#### Query Parameters

| Name                                                     | Type   | Description                    |
| -------------------------------------------------------- | ------ | ------------------------------ |
| type<mark style="color:red;">\*</mark>                   | string | Транзакция типі                |
| project\_reference\_id<mark style="color:red;">\*</mark> | string | Жоба жағындағы тапсырыс нөмірі |

#### Headers

| Name          | Type   | Description                                                                                                  |
| ------------- | ------ | ------------------------------------------------------------------------------------------------------------ |
| Authorization | String | Bearer  Авторотациялық хэш ([Қолтаңбаны қалыптастыруға ](/az/t-lem-shlyuzi/olta-bany-alyptastyru.md)қараңыз) |

{% tabs %}
{% tab title="200: OK Жоба жауабының мысалы. Барлық өрістер міндетті." %}

```json
{
    "id": "121abc", // Идентификатор транзакции на стороне проекта 
    "status": "success", // Статус заказа на стороне проекта
    "message": "order desciption", // Текстовое сопровождение ответа
    "is_payble" : true // Разрешение на проведение платежа
}
```

{% endtab %}
{% endtabs %}

`is_payble` параметрінің мәніне байланысты жүйе төлем жасау туралы шешім қабылдайды:

* `true` - Жоба төлемді жүргізуге рұқсат береді
* `false` - Жоба төлем жүргізуден бас тартады


---

# 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://docs.tarlanpayments.kz/az/t-lem-shlyuzi/t-lem-zh-iesini-webhook/a-y-t-leudi-zh-rgizuge-zirlik.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.
