You can use iTunes gift cards to pay for an Apple Music subscription directly in the Apple Music app.
You can easily add an iTunes gift card to your iPhone to purchase content from the App Store or other Apple apps. Here's how to do it.