# How to secure Stripe payment data. — retained record

> Retained reddit record from reddit:cybersecurity.

Canonical: https://highsignal.app/data/records/dba5bb10d62f0b3e

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:cybersecurity)  published 2026-09-17 17:14 ingested 2026-09-18 02:38

[original source ↗](https://www.reddit.com/r/cybersecurity/comments/1wj02an/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
