get_payment_status
Check the current status of a payment request. Use this to poll for approval after calling initiate_payment. Terminal statuses: COMPLETED, FAILED, EXPIRED, REJECTED.
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": {
"paymentRequestId": "<paymentRequestId>"
},
"name": "get_payment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentRequestId | Yes | The payment request ID returned by initiate_payment |