Mpesa Xpress and SMS Pay
End points for Mpesa Payment Confirmation and include payment details in the SMS.
Mpesa Express
{
"phoneNumber": "254712345678", // Phone number of the payer
"amount": 500, // Amount to be paid
"transactionName": "Order123", // Name of the transaction
"transactionId": "TXN12345", // Unique transaction ID
"callbackUrl": "https://yourapp.com/callback", // URL for payment notification
"description": "Payment for Order #123" // Optional description of the payment
}