M-Pesa STK Query
mpesa_stk_queryCheck the status of an M-Pesa STK Push request after initiating payment. Returns result codes for success, cancellation, or timeout.
Instructions
Check the status of an STK Push request. Poll this 10-30 seconds after calling mpesa_stk_push. ResultCode 0 = success, 1032 = cancelled by user, 1037 = timed out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkout_request_id | Yes | CheckoutRequestID from mpesa_stk_push response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||