---
title: "Payment Status"
method: GET
path: "/payment/status/{order_no}"
---

# Payment Status

`GET /payment/status/{order_no}`

## Request

- Base URL: `https://api.twtapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.twtapi.com/payment/status/{order_no}`
- Auth: none declared

查询订单状态，供前端支付页轮询。

不只读库：若订单处于「可能已成功但回调丢了」的状态（_SUCCESS_RECOVERABLE_STATUSES）
且存有渠道会话信息，会主动向渠道查一次实时状态并做补偿
—— 渠道返回 succeeded 就补记为已支付，返回 failed 且本地仍为 pending 则置为 cancelled。
查渠道失败只记日志，不影响本次按本地状态返回，避免渠道抖动把查询接口打挂。

## Path parameters

- `order_no` string, required

## Query parameters

- `lang` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twtapi/apis/twtapi-backend.md) · [All operations](https://skmtc.dev/twtapi/apis/twtapi-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/twtapi/apis/twtapi-backend/revisions/5295976febaf?raw)
