q402_request_status
Check a Q402 payment request's status by its req_ ID to see amount, token, chain, recipient, and pay URL. Poll open requests or verify a request before paying.
Instructions
Look up a Q402 payment request by its req_ id. Read-only, no API key. Returns the amount, token, chain, recipient, status (open | paid | expired | cancelled) and a shareable pay URL. Use it to poll a request you created, or to inspect a requestId before paying it with q402_request_pay. An unknown or expired id returns notFound:true (no throw).
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": {
"requestId": "<requestId>"
},
"name": "q402_request_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | Payment request id (req_ + 24 hex). Returned by q402_request_create; also the tail of a /pay/ URL. |