getRefundStatus
suspend fun getRefundStatus(referenceId: String, apiVersion: String, productSubscriptionKey: String, accessToken: String): Response<ERROR CLASS: Symbol not found for ResponseBody>
Retrieves the status of a previously initiated refund transaction.
Return
A retrofit2.Response whose body contains the refund status as a ResponseBody.
Parameters
referenceId
The UUID V4 reference ID used when calling refund.
apiVersion
The API version to target (e.g., v1_0 or v2_0).
productSubscriptionKey
The Ocp-Apim-Subscription-Key for the Disbursements product.
accessToken
The bearer access token used to authenticate the request.