The Cancel Transfer API command is used to cancel the queued transfer.
You can cancel a transfer until it is in the Queued/Scheduled status only. After the transaction gets transitioned to the In Progress (the next status to Queued), you cannot cancel it.
The payoutMerchantId is different from PayU Merchant Id. Check the Payouts Dashboard or call the PayU Customer Support if you don’t know your payoutMerchantId.
For sample request and response, refer to Sample Request and Response for Initiation & Tracking APIs.