# Request Header

Mọi request đến hệ thống VinID đều tuân thủ theo Request Header sau :

| **Tham số**  | **Bắt buộc** | **Định dạng** | **Độ dài (Max)** | **Mô tả**                                                                                                                          | **Ví dụ**                            |
| ------------ | :----------: | :-----------: | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| X-Key-Code   |      Có      |     String    |        36        | <p>Đăng nhập vào Merchant Site để tạo mã. <br>Mô tả chi tiết tại <a href="/pages/-M9NY1GTdw_q2wubHhZW">đây</a>.</p><p></p>         | b7bdf002-4948-44d2-99d1-99c8c81c3f47 |
| X-Timestamp  |      Có      |     Number    |                  | Thời gian tạo đơn hàng (unix timestamp in seconds)                                                                                 | 1570723375                           |
| X-Nonce      |      Có      |     String    |        255       | Sử dụng với mỗi request từ merchant, có giá trị sử dụng duy nhất trong vòng 2h tính từ thời điểm hệ thống VinID nhận được request. | 00a81e60-2684-4cf9-878d-f37559213059 |
| X-Signature  |      Có      |     String    |                  | <p>Dữ liệu xác thực của đơn hàng.</p><p>Mô tả chi tiết tại <a href="/pages/-M9RKsacMlMJQXcnu-2e">đây.</a></p>                      |                                      |
| X-Request-ID |     Không    |     String    |        255       | ID của request từ đối tác                                                                                                          |                                      |


---

# 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://developers.vinid.net/tai-lieu-tich-hop/quy-tac-ket-noi/request-header.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.
