refund

suspend fun refund(accessToken: String, momoTransaction: MomoTransaction, apiVersion: String, productSubscriptionKey: String, uuid: String): Response<Unit>

Requests a refund to be processed.

Return

A Response indicating the result of the request.

Parameters

accessToken

The access token for authentication.

momoTransaction

The transaction details.

apiVersion

The version of the API to use.

productSubscriptionKey

The subscription key for the product.

uuid

A unique identifier for the request.