Sales of insurance are regulated by the states. To get a license for its products to be sold in your state, the PMI company had to agree to make refunds in the manner prescribed by your state insurance commissioner. As Rocky advises, those standards should be spelled out somewhere in the contract documents you delivered to the borrower.
_________________________
...gone fishing.