transfer

fun transfer(productType: String, apiVersion: String, momoTransaction: MomoTransaction, uuid: String, productSubscriptionKey: String, environment: String): Flow<NetworkResult<Unit>>

Sends a request to transfer funds to a specified account.

Return

A Response indicating the result of the transfer request.

Parameters

accessToken

The access token for authentication.

momoTransaction

The transaction details for the transfer.

apiVersion

The version of the API to use.

productType

The type of product for the transfer.

productSubscriptionKey

The subscription key for the product.

uuid

A unique identifier for the request.