cashier_pay_query
Check payment status for coffee company orders to confirm if transactions are processing, successful, or failed using the payment token.
Instructions
查询支付状态(收银台下单后的支付结果)。
对应 HTTP API: POST /cashier/payQuery
状态: 0=支付中, 1=支付成功, 2=支付失败
Args: pay_token: 支付令牌(收银下单接口返回的 payToken)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pay_token": "<pay_token>"
},
"name": "cashier_pay_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |