getInvoiceStatus
fun getInvoiceStatus(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 invoice.
Return
A Flow emitting a NetworkResult whose body contains the invoice status as a ResponseBody.
Parameters
apiVersion
The version of the API to use.
referenceId
The UUID V4 reference ID used when calling createInvoice.
productSubscriptionKey
The subscription key for the Collection product.
environment
The target environment (e.g., sandbox or production).