cancelPreApproval
@DELETE(value = "/collection/{apiVersion}/preapproval/{referenceId}")
Cancels an active pre-approval, immediately revoking the merchant's ability to debit the payer's wallet without per-transaction consent.
Return
A Response with an empty body; HTTP 200 indicates successful cancellation.
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.
environment
The target environment (e.g., sandbox or production).