Hello markogin,
Thanks for posting in the Apple Support Communities. We're happy to look into this with you. We understand that you're looking to remove or edit the autofill details saved for Safari. Since it's not clear what device you're using, we're providing the article that outlines your options when using a Mac.
Change AutoFill settings in Safari on Mac - Apple Support
From the article above:
Credit cards
- Save your name as it appears on the card, the card number, expiration date, and security code, then easily fill in the saved information when you use the card again.
- When you add a credit card in AutoFill settings, the security code is optional. When you add a previously unsaved credit card while making a purchase, the security code is required.
- Important: Saving the security code with your card makes purchases convenient, but anyone with access to your Mac can make purchases with the card.
- Click Edit to add or remove saved credit cards, or to change the information for a saved credit card.
- If you have Apple Card in Wallet, it also appears in the list. See Use Wallet & Apple Pay.
Note: If you use iCloud Keychain to keep information secure on your Mac and other Apple devices, you can use AutoFill to enter previously saved credit card info on all those devices.
If using a different device, please let us know the model and OS version installed. We'll use this information to help research options based on that specific device and software.
Best regards.