transfer

fun transfer(productType: String, apiVersion: String, momoTransaction: MomoTransaction, uuid: String, productSubscriptionKey: String, environment: String): ERROR CLASS: Symbol not found for Flow<io/rekast/sdk/repository/data/NetworkResult<kotlin/Unit>>

Initiates a fund transfer to a specified account.

Return

A Flow emitting a NetworkResult with an empty Unit body on success.

Parameters

productType

The type of product for the transfer.

apiVersion

The version of the API to use.

momoTransaction

The transaction details including amount, currency, and party information.

uuid

A UUID V4 used as the X-Reference-Id to uniquely identify this request.

productSubscriptionKey

The subscription key for the product.

environment

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