一个轻量级端点,仅返回订单的当前状态。在需要检查支付是否已确认而无需获取完整订单详情的轮询场景中使用。Documentation Index
Fetch the complete documentation index at: https://docs.xpaylabs.com/llms.txt
Use this file to discover all available pages before exploring further.
请求
GET http://your-gateway:3010/v1/order/getOrderStatus?orderId={orderId}&sign={sign}
查询参数
订单标识符。
基于
orderId 值计算的 HMAC-SHA256 签名。cURL
响应
成功的请求返回 HTTP200,带 R<PaymentOrderStatus> 信封。
PaymentOrderStatus 对象
当前订单状态:
INIT— 等待支付PENDING— 检测到交易PENDING_CONFIRMATION— 等待区块确认SUCCESS— 支付已确认EXPIRED— 订单已过期FAILED— 支付失败

