How to use ECR to refund