Generally, all charges for purchases are nonrefundable, and there are no refunds or credits for partially used periods.
If you subscribed using your Apple ID, refunds are handled by Apple. To request a refund, go to iTunes, click on your Apple ID, select “Purchase history,” find the transaction and hit “Report Problem”. You can also submit a request at https://getsupport.apple.com.