The error which you shared in refund api is most likely due to you Public IP address not being whitelisted. You can contact ccavenue support team and once they will whitelist you public IP in both staging and production ENV, this error resolves