requestToWithdrawTransactionStatus

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

Retrieves the status of a previously initiated request-to-withdraw transaction.

Return

A retrofit2.Response whose body contains the withdrawal status as a ResponseBody.

Parameters

referenceId

The UUID V4 reference ID used when calling requestToWithdraw.

apiVersion

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

productSubscriptionKey

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

accessToken

The bearer access token used to authenticate the request.