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

# 设备启动

设备启动流程直接在 Nayax 终端启动，消费者可以通过选择服务或出示银行卡来开启服务。这实现了与终端的交互式通信，例如在服务正式开始之前显示费率或确认服务站是否可用。

设备启动流程使用以下 Spark 方法：

* [`StartSession`](https://devzone.nayax.com/reference/spark/transactions/startsession)
* [`InfoQuery`](https://devzone.nayax.com/reference/spark/transactions/infoquery)
* [`TransactionNotify`](https://devzone.nayax.com/reference/spark/transactions/transactionnotify)
* [`Settlement`](https://devzone.nayax.com/reference/spark/transactions/settlement)
* [`CancelTransaction`](https://devzone.nayax.com/reference/spark/transactions/canceltransaction)
* [`TimeoutCallback`](https://devzone.nayax.com/reference/spark/transactions/timeoutcallback)

> [!NOTE]
>
> 仅限预授权
>
> 设备启动目前仅支持预授权，有关预选选项，请参阅[远程启动](https://devzone.nayax.com/docs/integrate-pos-device/spark/payment-flows/spark-remote-start.md)。

> [!NOTE]
>
> 增量授权
>
> Spark Device Start 预授权支持增量授权（结算命令中的 Amount 可以高于 TransactionNotify（授权）命令中的 Amount）。
>
> 要支持增量授权功能，需要在运营商层面和机器层面同时启用。此外，客户还需签署一份正式文件，承担相应的风险责任（详见下文）。
>
> * 请注意，并非所有计费提供商都支持增量授权。截至 2026 年 10 月，仅以下提供商支持：\
>   Heartland（美国）、Chase（美国）、Adyen（美国、欧洲）、Credorax（欧洲）、Firstdata（澳大利亚）
>
> * **重要提示！**：如果增量授权失败（例如，消费者的资金不足以支付结算命令中发送的 Amount），消费者只会被收取其获得授权的初始金额，即 TransactionNotify 的 Amount 字段中发送的金额，而不是结算命令中发送的 Amount。损失风险由机器运营商承担。

## 预授权流程

要了解设备启动预授权流程，请参见下图：

![](https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/spark-device-start/image1.png?fit=max\&auto=format\&n=gp-udlFbAMEECcYg\&q=85\&s=4784e3d4b7eceb02fd17ace58eb12458)

以下是该图的细分：

1. A consumer selects a service station (and/or presents a card) on the Nayax Device, which sends an [`InfoQuery`](https://devzone.nayax.com/reference/spark/transactions/infoquery) request to the Nayax Server.
2. The Nayax Server sends a [`StartSession`](https://devzone.nayax.com/reference/spark/transactions/startsession) to the 3rd Party Server.
3. 第三方服务器以 `StartSession Response` 响应 Nayax 服务器。
4. Nayax 服务器向第三方服务器发送 `InfoQuery`。
5. 第三方服务器以 `InfoQuery` 响应 Nayax 服务器。
6. Nayax 服务器将 `InfoQuery` 命令发回给 Nayax 设备。
7. 消费者出示卡片（如果尚未出示）。Nayax 设备向 Nayax 服务器发送 `AuthorizationRequest`。
8. The Nayax Server performs authorization with a Payment Provider and then sends a [`TransactionNotify`](https://devzone.nayax.com/reference/spark/transactions/transactionnotify) to the 3rd Party Server.
9. The 3rd Party Server responds to the Nayax Server with a [`TransactionNotify`](https://devzone.nayax.com/reference/spark/transactions/transactionnotify) Response.
10. Nayax 服务器将 `AuthorizationResponse` 发回给 Nayax 设备。此时，可以在服务站提供服务，Nayax 设备恢复空闲状态。
11. The 3rd Party Server sends a [`Settlement`](https://devzone.nayax.com/reference/spark/transactions/settlement) command to the Nayax Server.
12. The Nayax Server performs the settlement with the Payment Provider and then sends a [`Settlement`](https://devzone.nayax.com/reference/spark/transactions/settlement) back to the 3rd Party Server.


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