Skip to main content
GET

授权

Authorization
string
header
必填

OAuth2 client_credentials 授权。access_token 到期后重新获取。

查询参数

merchant_id
string | null

可选业务标识,最长20个字符;传入时必须属于当前认证商户。省略或为空时在该商户全部业务范围内定位交易。

Maximum string length: 20
order_number
string | null

BillBuddy 交易单号,与 merchant_order_no 至少提供一个;同时提供时必须对应同一笔交易。

Maximum string length: 60
merchant_order_no
string | null

第三方订单凭证,与 order_number 至少提供一个;若匹配多笔交易,须补充 order_number。

Maximum string length: 64

响应

HTTP 200。code=0 表示查询成功,code=1 表示业务或认证失败,code=400 表示查询参数不符合要求。

code
enum<integer>
必填

查询成功,不代表支付成功。

可用选项:
0
message
string
必填

处理结果说明,成功为 ok。

示例:

"ok"

data
object
必填

响应数据。