If you have an iOS phone you can create a shortcut on your home screen that jumps directly to the code in the Amazon app. Whole Foods app may have the Shortcuts integration too, but I use the Amazon app.
The code both applies your Prime membership and links your preferred payment method.