# Уведомление об оплате

После оплаты, на указанный в настройках Вашего магазина **URL уведомлений** будет отправлен запрос, содержащий информацию об оплате

<table><thead><tr><th width="412">Ключ</th><th>Описание</th></tr></thead><tbody><tr><td>shop_id</td><td>Публичный ключ проекта</td></tr><tr><td>amount</td><td>Сумма платежа</td></tr><tr><td>order_id</td><td>Идентификатор заказа</td></tr><tr><td>currency</td><td>Валюта платежа (RUB, USD, EUR)</td></tr><tr><td>test</td><td>Если был задан при оплате</td></tr><tr><td>sign</td><td>Подпись запроса</td></tr></tbody></table>

Подпись формируется так же как и при создании формы, но в формировании хеш участвуют все поля, например

```php
<?php 
$secret = 'GB%^&*YJni677';
$data = $_POST;
unset($data['sign']);
ksort($data);
$str = http_build_query($data);
$sign = md5($str . $secret);
```


---

# 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://tegro.gitbook.io/ru/payments/sozdanie-platezha/uvedomlenie-ob-oplate.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.
