I have found this to be the case with my Apple card - so once a month I export a .QFX from the Wallet app and import it into YNAB. This process is a bit laborious but I've never had to manually enter an account's transactions in several years of using the app.
Apple Wallet transactions just got added to shortcuts on iOS. You should be able to create a shortcut that adds the expense to YNAB whenever the card is charged.