requestToPayDeliveryNotification

suspend fun requestToPayDeliveryNotification(productType: String, apiVersion: String, referenceId: String, momoNotification: MomoNotification, productSubscriptionKey: String, environment: String): Response<ResponseBody>

Sends a delivery notification for a request to pay.

Return

A Response indicating the result of the notification request.

Parameters

productType

The type of product for which to send the notification.

apiVersion

The version of the API to use.

referenceId

The reference ID of the request to pay.

momoNotification

The notification details.

productSubscriptionKey

The subscription key for the product.

environment

The API environment (e.g., production, sandbox).