> For the complete documentation index, see [llms.txt](https://docs.catfee.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.catfee.io/api-reference/flash/order-detail.md).

# 查询速充订单

使用创建订单时返回的 `id` 查询订单进度。

{% openapi src="/files/ewf4Gdd868hrqmjBY8nB" path="/v1/flash/open/order/{order\_id}" method="get" %}
[mate-flash-api.json](https://1836196186-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6OSDuieZV2PmhnU7qYgh%2Fuploads%2Fgit-blob-aba6a2d0db2deb06a943a9f62efa39c1c8e914b9%2Fmate-flash-api.json?alt=media)
{% endopenapi %}

### 订单状态

`code=0` 表示本次查询成功。请结合 `status` 和 `confirm_status` 判断订单进度。

| 字段及取值                                      | 含义                   |
| ------------------------------------------ | -------------------- |
| `status=PAYMENT_SUCCESS`                   | 订单已受理，等待代理或代理处理中。    |
| `status=DELEGATE_SUCCESS`                  | 代理交易已提交，请继续检查链上确认状态。 |
| `confirm_status=UNCONFIRMED`               | 代理尚未确认。              |
| `confirm_status=DELEGATION_CONFIRMING`     | 代理正在确认中，可稍后再次查询。     |
| `confirm_status=DELEGATION_CONFIRMED`      | 代理已在链上确认。            |
| `confirm_status=DELEGATION_CONFIRMED_FAIL` | 代理确认失败。              |

其他订单状态表示支付失败、代理失败或退款结果，应根据返回状态处理，不能视为资源已交付。

当 `status=DELEGATE_SUCCESS` 且 `confirm_status=DELEGATION_CONFIRMED` 时，表示代理已确认。此结果不代表接收地址当前的可用资源数量。

创建订单及重复下单返回的订单对象使用相同的状态说明。
