getRefundStatus

@GET(value = "/disbursement/{apiVersion}/refund/{referenceId}")
abstract suspend fun getRefundStatus(@Path(value = "referenceId") referenceId: String, @Path(value = "apiVersion") apiVersion: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String): Response<RefundStatus>

Retrieves the status of a previously initiated refund request.

Return

A Response whose body is the parsed RefundStatus.

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.