Apple Account balance can generally be used to pay for App Store subscriptions, including subscriptions to third-party apps like ChatGPT.
However, Apple notes that some purchases may still require a credit card on file, even when your Apple Account balance is sufficient.
Also, keep in mind that your $20 balance might not cover the full subscription price if applicable sales tax is added.
I'd check the total amount first. If your balance covers it but Apple still requires another payment method, I'd contact Apple Support to clarify whether there's an alternative for your account.
Apple explains the payment restrictions here: What you can buy with your Apple Gift Card or Apple Account balance - Apple Support
Since you're subscribing through the iOS app, Apple handles the billing rather than OpenAI.
A friendly note: This is the German-language Apple Support Community. Posting your question in German will make it easier for more members to understand it and offer assistance.