> 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/t-lem-m-rtebesi.md).

# Төлем мәртебесі

Әдіс жоба жүйесін төлем мәртебесі туралы хабардар етуге арналған.

### Backoff Policy

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

* InitialInterval = 500 \* time.Millisecond, қайталама сұрау аралықтары
* RandomizationFactor = 0.5,  Қайталаушылар арасындағы уақыт бойынша сұрау салуды шашу
* MaxInterval = 60 \* time.Second, Қайталаулар арасындағы максималды уақыт
* MaxElapsedTime = 10 \* time.Minute, оның ішінде әрекеттер орындалатын уақыт

**Әрбір операциядан кейін төлем жүйесімен Callback**

Төлем аяқталғаннан кейін төлем жүйесі төлем жағдайын беру үшін әріптестің жобасына сауал жібереді. Сауал төлем бастамашылығы кезінде `callback_url` өрісінде көрсетілген мекенжайға жасалады.

200 транзакциядан ерекшеленетін http мәртебесін алу кезінде BackOff саясаты орындалады

## Серіктес жобасының callback-a жіберу

<mark style="color:green;">`POST`</mark> `callback_url`&#x20;

#### Headers

| Name                                            | Type   | Description                                                                                                  |
| ----------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------ |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer  Авторотациялық хэш ([Қолтаңбаны қалыптастыруға ](/az/t-lem-shlyuzi/olta-bany-alyptastyru.md)қараңыз) |

#### Request Body

| Name                                                     | Type    | Description                                              |
| -------------------------------------------------------- | ------- | -------------------------------------------------------- |
| created\_at<mark style="color:red;">\*</mark>            | String  | Транзакцияның жасалған күні                              |
| transaction\_id<mark style="color:red;">\*</mark>        | Integer | Төлем жүйесі жағындағы транзакция сәйкестендіргіші       |
| acquirer\_code<mark style="color:red;">\*</mark>         | String  | Банк сәйкестендіргіші                                    |
| project\_reference\_id<mark style="color:red;">\*</mark> | String  | Жоба жағындағы транзакция сәйкестендіргіші               |
| project\_сlient\_id<mark style="color:red;">\*</mark>    | String  | Жоба жағындағы пайдаланушы сәйкестендіргіші              |
| status\_code<mark style="color:red;">\*</mark>           | String  | Транзакция мәртебесі                                     |
| type\_code<mark style="color:red;">\*</mark>             | String  | Транзакция типі                                          |
| amount<mark style="color:red;">\*</mark>                 | Float   | Транзакция сомасы                                        |
| description<mark style="color:red;">\*</mark>            | String  | Сипаты                                                   |
| finished\_at<mark style="color:red;">\*</mark>           | String  | Транзакцияның аяқталу күні                               |
| project\_id<mark style="color:red;">\*</mark>            | Integer | Жоба сәйкестендіргіші                                    |
| merchant\_id<mark style="color:red;">\*</mark>           | Integer | Мерчант сәйкестендіргіші                                 |
| additional\_data                                         | Object  | Қосымша өрістер                                          |
| card\_token                                              | String  | Төлем жүйесіндегі карта токені                           |
| masked\_pan                                              | String  | Бүркемеленген төлем картасы                              |
| bank\_code                                               | String  | Транзакцияда қате болған жағдайда қате коды жіберіледі   |
| bank\_message                                            | String  | Қатені сипаттау                                          |
| issuer                                                   | String  | Карта эмитенті                                           |
| ips                                                      | String  | Халықаралық төлем жүйесі (B (Visa/Mastercard тағы басқа) |


---

# 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/t-lem-m-rtebesi.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.
