I hope this helps:
Right of Permanent Residence Fees are Refundable:
The Right of Permanent Residence Fee is paid for the right to obtain permanent resident status in Canada. The fee is partial compensation for the many benefits and privileges that permanent resident status confers. This fee will be refunded for unsuccessful immigrant applications or for those who withdraw or otherwise abandon immigration to Canada before the visa has been used. Right of Permanent Residence Fee refunds are issued by the office that concluded your application. Right of Permanent Residence Fee refunds for all Family Class applications are issued by the Case Processing Centre in Mississauga.
Regards.