Skip to main content
Use these examples after you have installed the SDK and created an API key with the express.pay permission. Add transactions.read when your app also reads payment or transaction status.

Basic payment

Payment with customer details

Payment for an existing customer

When you send customerId, do not include extra customer fields in the same request.

Handle payment creation errors

Request limits

For example, amount: 1000 means KES 10.00.