1019STK Push result

M-Pesa error 1019: Transaction expired

This is an STK Push (Lipa na M-Pesa Online) result code — it comes back on the Daraja callback after the customer responds to the payment prompt.

What causes it

The transaction exceeded its allowed processing window because the customer took too long to act on the prompt.

How to fix it

Let the customer re-initiate the payment and prompt them to approve promptly.

How paylod handles this

With paylod you never parse this code by hand: the hosted M-Pesa callback decodes the STK Push result for you and returns a normalized status, so you handle a clean success or failed webhook instead of raw Daraja result codes.

See the paylod M-Pesa API

Related M-Pesa error codes

Sources