requestToPayDeliveryNotification

fun requestToPayDeliveryNotification(productType: String, apiVersion: String, referenceId: String, momoNotification: MomoNotification, productSubscriptionKey: String, environment: String): ERROR CLASS: Symbol not found for Flow<io/rekast/sdk/repository/data/NetworkResult<ERROR CLASS: Symbol not found for ResponseBody>>

Sends a delivery notification to the payer for an existing request-to-pay transaction.

Return

A Flow emitting a NetworkResult with the raw result as a ResponseBody.

Parameters

productType

The type of product for the notification.

apiVersion

The version of the API to use.

referenceId

The UUID V4 reference ID of the original request-to-pay transaction.

momoNotification

The notification payload containing the message to deliver.

productSubscriptionKey

The subscription key for the product.

environment

The target environment (e.g., sandbox or production).