getPreApprovalStatus

suspend fun getPreApprovalStatus(referenceId: String, apiVersion: String, productSubscriptionKey: String, environment: String): Response<ERROR CLASS: Symbol not found for ResponseBody>

Retrieves the status of a previously created Collection pre-approval.

Return

A Response whose body contains the pre-approval status details.

Parameters

referenceId

The UUID V4 reference ID used when calling createPreApproval.

apiVersion

The version of the API to use.

productSubscriptionKey

The subscription key for the Collection product.

environment

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