How to secure Stripe payment data.
retained text
Hi. I have an e-commerce platform that stores Api keys of my customers (sellers) stripe account. Moreover in my database there are all payments references (payment intent ids). I'm wondering how safe is to keep these data plaintext in a database. An attacker can get access to db and steal these data. I'm pretty sure he will not get money to an external account but he switch Api keys or refund all payments. I know the first answer is to enforce the system to avoid any unauthorized access, but how to store these data that an application has to get to run payments? Is there something I can do?
document fetched 2026-09-18 00:24 · canonical https://reddit.com/r/cybersecurity/comments/1wj02an/how_to_secure_stripe_payment_data