KES Payment API
USSD Charge
Triggers an STK Push prompt on the customer’s mobile phone to collect payment. Retrieve supported channel codes from GET /api/v1/pay/mobile-money-banks.
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. Retrieve available codes from GET /api/v1/pay/mobile-money-banks
Customer phone number in 254XXXXXXXXX format
Full name of the customer (optional)