<iOS>
All in-app purchases are made in the App Store. For that reason, you need to use a payment method that's available for that store.
Payment methods that you can use with your Apple ID
<Android>
All in-app purchases are made in the Google Play Store. For that reason, you need to use a payment method that's available for that store.