Cancel Authorized Payment


This endpoint cancels an active OTM authorization, releasing the hold on the user’s funds. It can only be called after the transaction has successfully reached the AUTHORIZED state.

EnvironmentHTTP MethodAPI
SandboxPOSThttps://api-preprod.phonepe.com/apis/pg-sandbox/payments/v2/{merchantOrderId}/cancel
ProductionPOSThttps://api.phonepe.com/apis/pg/payments/v2/{merchantOrderId}/cancel

HTTP 202 Accepted No response body is returned. The 202 Accepted status indicates the cancellation has been accepted for processing.

Is this article helpful?