When a user completes a mobile money payment request (M-Pesa, MTN Momo, etc.), you can check the transaction status using the transaction ID from your payment request. Use theDocumentation Index
Fetch the complete documentation index at: https://docs.stablepay.ai/llms.txt
Use this file to discover all available pages before exploring further.
/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:
SuccessfulorUnsuccessful - 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