getDepositStatus

@GET(value = "/disbursement/{apiVersion}/deposit/{referenceId}")
abstract suspend fun getDepositStatus(@Path(value = "referenceId") referenceId: String, @Path(value = "apiVersion") apiVersion: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String, @Header(value = "X-Target-Environment") environment: String): Response<ResponseBody>

Makes a request to check the status of the deposit request

Return

ResponseBody -- Returns the Transfer Status

Parameters

referenceId

-- The Transfer Reference ID. This is a UUID V4. This is the ID used here deposit

apiVersion

-- The app Version (v1_0 or v2_0)

productSubscriptionKey

-- The Product subscription Key (Ocp-Apim-Subscription-Key)

environment

-- The API environment (X-Target-Environment)