generateDynamicQr

suspend fun generateDynamicQr(dynamicQrRequest: DynamicQrRequest): DynamicQrResponse

Dynamic QR - Generates a dynamic M-PESA QR Code.

Use this API to generate a Dynamic QR which enables Safaricom M-PESA customers who have My Safaricom App or M-PESA app, to scan a QR (Quick Response) code, to capture till number and amount then authorize to pay for goods and services at select LIPA NA M-PESA (LNM) merchant outlets.

Return

A DynamicQrResponse object representing the successful response, or an error if the request fails.

Parameters

dynamicQrRequest

The DynamicQrRequest request object.