requestToPayTransactionStatus

@GET(value = "/collection/{apiVersion}/requesttopay/{referenceId}")
abstract suspend fun requestToPayTransactionStatus(@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 payment request

Return

ResponseBody -- Returns the Transfer Status

Parameters

referenceId

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

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)