# 5.1 红包生命周期的定义

为了保证红包行为在任何场景下都具有一致、可预测的结果，马上领红包在系统层面对红包引入了明确的生命周期模型。

一个红包从创建到终结，必须且只会经历以下阶段：

1. **创建（Created）**\
   红包参数被确定，相关资金被锁定。
2. **发送（Sent）**\
   红包被绑定到具体的群聊或接收环境中。
3. **领取（Claiming）**\
   群成员根据规则进行领取操作。
4. **结算（Settled）**\
   红包被完全领取或达到终止条件。
5. **退回（Refunded）**\
   未领取部分按规则自动返还。

该生命周期在红包创建时即被确定，后续所有行为只能在既定路径内发生，避免出现“例外处理”或人为干预。


---

# 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.mashanglinghongbao.xyz/5.-he-xin-ji-zhi-yu-yong-hu-liu-cheng/5.1-hong-bao-sheng-ming-zhou-qi-de-ding-yi.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.
