# 🔐 Authentication & Security

##

To ensure secure communication between your application and the Redision Payment Gateway, each API request must be authenticated using the following credentials:

### Required Headers

| Header Name | Description                                                          |
| ----------- | -------------------------------------------------------------------- |
| `appkey`    | Provided by Redision for each merchant. Identifies your application. |
| `appid`     | A unique ID assigned to each merchant application.                   |
| `bodysign`  | A cryptographic signature to validate the request payload.           |

### Body Signature (`bodysign`)

The `bodysign` is a HMAC SHA-256 signature generated from the raw request body using your app 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://redpay.gitbook.io/redpay-docs/api-information/authentication-and-security.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.
