M-Pesa Transaction Status
mpesa_transaction_statusCheck the status of an M-Pesa transaction using the receipt number. Retrieve the transaction state and confirmation details.
Instructions
Query the status of any M-Pesa transaction by receipt number. Requires MPESA_INITIATOR_NAME and MPESA_SECURITY_CREDENTIAL env vars.
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": {
"transaction_id": "<transaction_id>"
},
"name": "mpesa_transaction_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_id | Yes | M-Pesa receipt number e.g. QKL8XXXXXX |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||