cashTransfer
suspend fun cashTransfer(cashTransfer: CashTransfer, apiVersion: String, productSubscriptionKey: String, environment: String, uuid: String): Response<Unit>
Initiates a Remittance cash transfer using the V2 endpoint with optional KYC fields.
Return
A Response with an empty body; HTTP 202 indicates the transfer was accepted.
Parameters
cashTransfer
The cash transfer payload including recipient and optional payer KYC details.
apiVersion
The version of the API to use (e.g., v2_0).
productSubscriptionKey
The subscription key for the Remittance product.
environment
The API environment (e.g., sandbox or production).
uuid
A UUID V4 used as the X-Reference-Id; poll getCashTransferStatus with the same ID.