Patent applications are non-refundable.
Generally, when applying for a patent, we usually sign a contract with an agency. The failure of the application is not due to the agency, because your patent was audited by China National Intellectual Property Administration, not by the patent company. If you find that yours is the same as others', you will be rejected, and a letter will be sent to you after rejection. Don't worry about this.