query_payment
Query payment results using the payment request ID to retrieve the outcome when no result is received after a timeout.
Instructions
The tool is used by the Acquiring Service Provider (ACQP) to query the payment result if no payment result is received after a certain period of time.
Args:
payment_request_id: The unique ID that is assigned by a merchant to identify a payment request.Maximum length: 64 characters
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": {
"payment_request_id": "<payment_request_id>"
},
"name": "query_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |