stk_query
Query the status of a previous M-Pesa STK push by providing its CheckoutRequestID.
Instructions
Query the status of a previous STK push using its CheckoutRequestID.
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": {
"checkoutRequestId": "<checkoutRequestId>"
},
"name": "stk_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shortCode | No | ||
| checkoutRequestId | Yes | The CheckoutRequestID returned by stk_push. |