# General Details

All the requests regarding Olympz API should be sent to: <mark style="color:blue;">**<https://olympz.com/api>.**</mark>

All the requests should contain the **Auth header** with an **authorization key** that will be sent to Merchant, e.g.:

```
POST /deposit/create HTTP/1.1
Host: olympz.com
Accept: application/json
Content-Type: application/json
Auth: fcd8766d4fa5b4a5c7198b87a5d0921d
```

***

Olympz API deals with **JSON** requests. All the requests, excluding **GET**, should be signed by a **secret key** that will be also sent to Merchant. For signing you need to deliver the md5 hash from a request body with a secret a key concatenating. Then the delivered hash is used in the **Sign header** and sent together with the request. The example of the hash calculation in **PHP**:

```
$secret_key = '1dfcd12ba13fff487a84cf50d8099297';
$request = '{"test":"test"}';
$sign = md5($request . $secret_key);
//49e8dde596382693c52ccc3d722e5229               
```

POST request will be written as:

```
POST /deposit/create HTTP/1.1
Host: olympz.com
Accept: application/json
Content-Type: application/json
Auth: fcd8766d4fa5b4a5c7198b87a5d0921d
Sign: 49e8dde596382693c52ccc3d722e5229
…
{"test":"test"}            
```

Whereas Olympz sends the requests to the Merchant system using the same rules and keys. Your integration keys should be received via email from the manager.&#x20;


---

# 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.olympz.com/general-details.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.
