KES Payment API
USSD Charge
Triggers an STK Push prompt on the customer’s mobile phone to collect payment. Supports M-PESA (63902), Airtel Money (63903), T-KASH (63907), and SasaPay (0).
POST
Authorizations
Access key from Dashboard
HMAC-SHA256 signature (hex lowercase)
Unix timestamp in seconds (UTC) as a string
Body
Unique reference for this transaction (alphanumeric, hyphens, underscores, spaces)
Email address of the customer
Amount to charge the customer (must be greater than 0)
Currency code. Must be "KES"
Mobile money channel code: 63902 (M-PESA), 63903 (Airtel Money), 63907 (T-KASH), 0 (SasaPay)
Customer phone number in 254XXXXXXXXX format
Full name of the customer (optional)