> For the complete documentation index, see [llms.txt](https://iskillbots-organization.gitbook.io/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iskillbots-organization.gitbook.io/api/api-bitobmen.pro.md).

# Api bitobmen.pro

1. Активация кода с сохранением в личный кабинет (Для любых сумм)

```php
<?php
// Установка параметров запроса
$url = "https://bitobmen.pro/api/code/activate/kzt";
$code = "ваш_код"; // замените на реальный код
$email = "ваш_email"; // замените на реальный email
$data = array("code" => $code, "email" => $email);

// Настройка опций запроса
$options = array(
    'http' => array(
        'header'  => "Content-type: application/json\r\n",
        'method'  => 'POST',
        'content' => json_encode($data),
    ),
);

// Создание контекста запроса
$context  = stream_context_create($options);

// Выполнение запроса и получение результата
$result = file_get_contents($url, false, $context);

// Обработка результата
if ($result === false) {
    // Обработка ошибки
    echo "Ошибка при выполнении запроса";
} else {
    $response = json_decode($result);
    if ($response->success) {
        // Обработка успешного результата
        echo "Код успешно активирован";
    } else {
        // Обработка ошибки
        echo "Ошибка при активации кода: " . $response->message;
    }
}
?>

```

**Результат&#x20;**<mark style="color:green;">**status: 200**</mark>

```json
{
"code": "iLEvR55nQbs4ktkz",
"email": "example@mail.com"
{
"message": " Ваш код iLEvR55nQbs4ktkz успешно сохранен и не активен. Для
активации сохраненных кодов перейдите в личный кабинет и выведите общую
сумму",
"sum": "9800"
}
```


---

# 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:

```
GET https://iskillbots-organization.gitbook.io/api/api-bitobmen.pro.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.
