# Payment  ready to be made

The method is designed to confirm payment of an order on the project side.

The system sends a request to "confirm\_url" of the project and awaits for a response with requisite parameters: id, status, message, is\_payble.

The method will be processed if the value parameter "confirm\_url" is uploaded when initiating a payment.

### Backoff Policy

To increase the guarantees of receiving a response, BackOff policy is used when fulfiling requests:

* InitialInterval = 500 \* time.Millisecond, intervals between repeated requests
* RandomizationFactor = 0.5, Spread of the request on time between retries
* MaxInterval = 60 \* time.Second, Maximum time between retries
* MaxElapsedTime = 10 \* time.Minute, the time during which the attempts will be made.

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

#### Query Parameters

| Name                                                     | Type   | Description                      |
| -------------------------------------------------------- | ------ | -------------------------------- |
| type<mark style="color:red;">\*</mark>                   | string | Type of transaction              |
| project\_reference\_id<mark style="color:red;">\*</mark> | string | Order number on the project side |

#### Headers

| Name          | Type   | Description                                        |
| ------------- | ------ | -------------------------------------------------- |
| Authorization | String | Bearer Auto-rotation hash (see Signature Creating) |

{% tabs %}
{% tab title="200: OK Example of a project response. All fields are mandatory. " %}

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

{% endtab %}
{% endtabs %}

The system decides whether to effect a payment depending on the value parameter "is\_payble":

* true - The project authorizes the payment
* false – The project declines the payment


---

# 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://docs.tarlanpayments.kz/eng/acquiring/webhook-of-the-payment-system/payment-ready-to-be-made.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.
