deposit

fun deposit(deposit: Deposit, apiVersion: String, productSubscriptionKey: String, uuid: String): ERROR CLASS: Symbol not found for Flow<io/rekast/sdk/repository/data/NetworkResult<kotlin/Unit>>

Initiates a deposit via the Disbursements service, sending funds to the payee.

Return

A Flow emitting a NetworkResult with an empty Unit body on success (HTTP 202).

Parameters

deposit

The deposit payload containing amount, currency, and payee details.

apiVersion

The API version to target (e.g., v1_0 or v2_0).

productSubscriptionKey

The Ocp-Apim-Subscription-Key for the Disbursements product.

uuid

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