Redeem Cancel


EnvironmentHTTP MethodAPI
SandboxPOSThttps://api-preprod.phonepe.com/apis/pg-sandbox/subscriptions/v2/redeem/cancel
ProductionPOSThttps://api.phonepe.com/apis/pg/subscriptions/v2/redeem/cancel
Header NameHeader ValueDescription
Content-Typeapplication/json
AuthorizationO-Bearer <access_token>Pass access_token received in Authorization call
Request Parameters
Parameter NameData TypeDescription
merchantOrderIdStringThe merchantOrderId of the debit request to be cancelled
Sample Request
{    
	"merchantOrderId":"MO17223195610091279"
}
Sample Response
{
	"orderId": "OM23195610091279"
	"state": "CANCEL_IN_PROGRESS"
}
Response Parameter
Parameter NameData TypeDescription
OrderIDStringAn orderId generated by PhonePe.
stateStringIndicates the state of the request.
Is this article helpful?