getPreApprovalStatus

@GET(value = "/collection/{apiVersion}/preapproval/{referenceId}")
abstract suspend fun getPreApprovalStatus(@Path(value = "referenceId") referenceId: String, @Path(value = "apiVersion") apiVersion: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String): Response<PreApprovalStatus>

Retrieves the current status of a previously created pre-approval.

Return

A Response whose body is the parsed PreApprovalStatus.

Parameters

referenceId

The UUID V4 reference ID used when calling createPreApproval.

apiVersion

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

productSubscriptionKey

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