requestToPayDeliveryNotification
fun requestToPayDeliveryNotification(productType: String, apiVersion: String, referenceId: String, momoNotification: MomoNotification, productSubscriptionKey: String, environment: String): Flow<NetworkResult<ResponseBody>>
Sends a request to pay a user, identified by the provided reference ID.
Return
A Response indicating the result of the payment request.
Parameters
momoNotification
The notification details for the payment.
referenceId
The reference ID of the user to pay.
apiVersion
The version of the API to use.
productType
The type of product for the payment.
productSubscriptionKey
The subscription key for the product.
accessToken
The access token for authentication.