getDepositStatus

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

Retrieves the status of a previously initiated deposit transaction.

Return

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

Parameters

referenceId

The UUID V4 reference ID used when calling deposit.

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.