> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 安全与身份验证

为了确保每笔交易的安全性和完整性，Spark API 要求采用双重身份验证流程。所有请求都必须标识发送者，并包含数字签名，以验证请求体未被篡改。

## 身份验证选项

选择与项目状态相符的集成路径：

> **[验证](https://devzone.nayax.com/docs/integrate-pos-device/spark/security-authentication/spark-authentication.md)**
>
> 这是所有新集成的当前标准。此版本使用简化的基于标头的签名。

> **[传统身份验证](https://devzone.nayax.com/docs/integrate-pos-device/spark/security-authentication/spark-legacy-authentication.md)**
>
> 仅用于维护现有集成。此版本需要根据 JSON 正文内容生成 HMAC 签名。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.