requestToWithdrawDeliveryNotification

suspend fun requestToWithdrawDeliveryNotification(apiVersion: String, referenceId: String, momoNotification: MomoNotification, productSubscriptionKey: String, environment: String): Response<ERROR CLASS: Symbol not found for ResponseBody>

Sends a delivery notification for a request-to-withdraw transaction.

Return

A Response whose body contains the delivery result.

Parameters

apiVersion

The version of the API to use.

referenceId

The UUID V4 reference ID used when calling requestToWithdraw.

momoNotification

The notification payload containing the message to deliver.

productSubscriptionKey

The subscription key for the Collection product.

environment

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