Apple's terms of purchase for most countries are effectively, "All Transactions are final" (check terms at: https://www.apple.com/legal/internet-services/itunes/us/terms.html ). Apple may refund on a case by case basis, but realize they can also say no.
Some apps do have trial periods. If this is as a subscription just make sure you cancel the subscription in time.
Please read this link to learn "How to cancel a subscription from Apple" Click here --> https://support.apple.com/HT202039
Note:
• "If you don’t see Cancel Subscription, then the subscription is already canceled and won't renew." The "Expires" date means the current subscription will just run until then.
• Deleting an app does not cancel a subscription.
• If you don’t cancel trials more than 24 hours before your renewal date, your subscription might renew.