getPreApprovalStatus
fun getPreApprovalStatus(apiVersion: String, referenceId: String, productSubscriptionKey: String, environment: String): ERROR CLASS: Symbol not found for Flow<io/rekast/sdk/repository/data/NetworkResult<ERROR CLASS: Symbol not found for ResponseBody>>
Retrieves the current status of a previously created Collection pre-approval.
Return
A Flow emitting a NetworkResult whose body contains the pre-approval status as a ResponseBody.
Parameters
apiVersion
The version of the API to use.
referenceId
The UUID V4 reference ID used when calling createPreApproval.
productSubscriptionKey
The subscription key for the Collection product.
environment
The target environment (e.g., sandbox or production).