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): Response<RequestToPayStatus>

Retrieves the status of a previously initiated request-to-pay transaction.

Return

A Response whose body is the parsed RequestToPayStatus.

Parameters

referenceId

The UUID V4 reference ID used when calling requestToPay.

apiVersion

The API version to target (e.g., v1_0 or v2_0).

productSubscriptionKey

The Ocp-Apim-Subscription-Key for the Collection product.