/momo/{transactionId}
endpoint to get the current status of your mobile money transaction.
Get MoMo Payment Status
GET/momo/{transactionId}
Headers
- Authorization:
Bearer {STA_xxxx}
(required)
Path Parameters
- transactionId (string, required): Transaction ID from your payment request (5-15 characters)
Response
- status:
Successful
orUnsuccessful
- confirmationID (string): M-Pesa payment confirmation code (if successful)
Common Issues
If the endpoint returns an error, it could be because:- Transaction is still processing
- Customer hasn’t completed the payment
- Invalid transaction ID provided
To call any of Stablepay’s endpoints you need to request an API-KEY