PCI DSS for Hotels: Find Guest Card Data and Pick Your SAQ
PCI DSS for hotels: find guest card numbers in your PMS, email and files, remove them, isolate payment terminals and choose the right SAQ with your bank.
On this page
In a small hotel, guest card numbers usually don't sit in payment systems — they sit in PMS notes, emails and scraps of paper at the front desk, and they leak along with a mailbox or a stolen computer. PCI DSS is the card brands' standard (Visa, Mastercard and others) for everyone who accepts cards; the current version is 4.0.1. A small hotel usually doesn't go through an audit — it fills in a self-assessment questionnaire (SAQ) at the request of its acquiring bank, the bank that gave you the terminal. The fewer places card numbers ever touch, the shorter the questionnaire and the smaller the breach. After these steps you know every path cards take into your hotel, there are no card numbers in files, email, the PMS or on paper, the terminals sit on a separate network, and the bank has confirmed which questionnaire you fill in.
Plan
| Step | What we do | Who | Time |
|---|---|---|---|
| 1 | Map the paths guest cards take | manager + IT | 30 min |
| 2 | Find card numbers in files with a script | IT | 30 min |
| 3 | Remove card numbers from the PMS, email and files | IT + front desk | 1–2 hours |
| 4 | Introduce the "we don't write down card numbers" rule | manager | 15 min |
| 5 | Isolate payment terminals and check them for tampering | IT | 30 min |
| 6 | Check that the hotel website doesn't take cards itself | IT | 20 min |
| 7 | Sort out Booking: virtual cards and "pay at the property" | manager | 20 min |
| 8 | Confirm the questionnaire with the bank and fill it in | manager | 1–2 hours |
| 9 | Check every quarter | IT | 30 min |
What real hotel breaches showed
- Hilton (breaches in 2014–2015, settled in 2017): malware on point-of-sale systems; about 363,000 cards; $700,000 under a settlement with the New York and Vermont attorneys general.
- Marriott / Starwood (discovered in 2018): attackers sat in the reservation system for years; data on hundreds of millions of guests; the UK regulator, the ICO, fined Marriott £18.4m.
- In small hotels, card numbers most often sit not in "systems" but in PMS notes, "credit card authorization form" emails and scraps of paper at the front desk — and leave with the mailbox or the computer.
What follows from this:
- You can't protect what you don't know about → a map of every card path (Step 1).
- Card numbers settle in files and email → search with a script and delete (Steps 2–3).
- The front desk writes a number down "just for a minute" → a rule and a way to take payment without writing anything down (Step 4).
- POS and payment devices are a malware target → a separate network and tamper checks (Step 5).
- A website that takes card numbers itself pushes you to the longest questionnaire → payment on the provider's side (Step 6).
- The questionnaire gets picked by guesswork → a written answer from the bank (Step 8).
Step 1. Map the paths guest cards take
How to do it. Fill in the table — every way a guest pays or leaves card details:
| Path | Who sees the card number | Where it may settle | What we do (step) |
|---|---|---|---|
| Bank terminal at the front desk and in the restaurant | nobody (the card stays with the guest) | — | 5 |
| Phone booking guaranteed by card | front desk | paper, PMS, Excel | 4 |
| Booking: virtual credit card (VCC) or the guest's card for "pay at the property" | front desk in the extranet | paper, PMS, email | 7 |
| "Credit card authorization form" email | front desk, accounting | email, folders | 3, 4 |
| Hotel website (booking engine) | depends on the engine | website server | 6 |
| PMS: card field, notes | everyone with PMS access | PMS database | 3 |
Done when: every card path is in the table, and each has a step that closes it.
Step 2. Find card numbers in files with a script
How to do it. The script looks for digit sequences that look like a card number (13–19 digits, starting with 4, 51–55, 22–27, 34, 37) and checks the Luhn checksum — that filters out booking and phone numbers. The number is shown masked. Save it as C:\pci\find-pan.ps1:
param([string[]]$Path = @("C:\Users"))
$rx = [regex]'(?<!\d)(?:\d[ -]?){12,18}\d(?!\d)'
function Test-Luhn([string]$d) {
$sum = 0; $alt = $false
for ($i = $d.Length - 1; $i -ge 0; $i--) {
$x = [int][string]$d[$i]
if ($alt) { $x *= 2; if ($x -gt 9) { $x -= 9 } }
$sum += $x; $alt = -not $alt
}
return ($sum % 10 -eq 0)
}
Get-ChildItem $Path -Recurse -File -Include *.txt,*.csv,*.log,*.eml,*.htm,*.html,*.rtf,*.xml,*.json -ErrorAction SilentlyContinue |
ForEach-Object {
$file = $_.FullName
try { $text = [IO.File]::ReadAllText($file) } catch { return }
foreach ($m in $rx.Matches($text)) {
$n = $m.Value -replace '\D'
if ($n.Length -ge 13 -and $n.Length -le 19 -and $n -match '^(4|5[1-5]|2[2-7]|3[47])' -and (Test-Luhn $n)) {
[pscustomobject]@{ File = $file; Card = $n.Substring(0,6) + '******' + $n.Substring($n.Length - 4) }
}
}
}
powershell -ExecutionPolicy Bypass -File C:\pci\find-pan.ps1 -Path C:\Users, \\NAS\share | Export-Csv C:\pci\found.csv -NoTypeInformation -Encoding UTF8
- Word and Excel files (
.docx,.xlsx) are archives, and the script can't read them: save the important spreadsheets as CSV or check them by hand under Step 3. - Email: export the front desk and accounting folders to
.eml(or search in the mail service itself for "card", "credit card", "CVV", "authorization"). C:\pci\found.csvis a list of locations, not numbers; keep it until Step 3 is finished, then delete it.
Check: create a test file with the number 4111 1111 1111 1111 (a Visa test number) and a 13-digit booking number — the script finds only the first one.
Done when: the script has run across every computer and shared folder, and the list of locations is ready.
Step 3. Remove card numbers from the PMS, email and files
How to do it.
- Files from Step 2 — delete the number (or the whole file if that's all it was for), empty the Recycle Bin.
- Email — delete emails with card numbers from Inbox, Sent and Trash; authorization forms too.
- PMS — booking notes and comments with card numbers: delete them or replace them with "card verified, last 4 digits ____". Use the PMS card fields only if the PMS stores them in line with PCI requirements (ask the PMS vendor in writing); otherwise don't use them.
- Paper — forms and notes with numbers go into the shredder. Until then, keep them in the safe.
- CVV (the three digits on the back) is never stored anywhere after authorization — not in the PMS, not on paper.
Done when: a repeat run of the Step 2 script finds nothing, and there are no numbers in the PMS or email.
Step 4. Introduce the "we don't write down card numbers" rule
How to do it. A rule for the front desk and accounting — print it and have everyone sign:
- We don't write down a guest's card number: not on paper, not in the PMS, not in Excel, not in a messenger.
- Phone bookings with a guarantee — we send the guest a payment link from the bank or payment service; the guest enters the card themselves.
- We don't accept a credit card authorization form by email — instead, a payment link or payment on the terminal at check-in.
- We never ask for or write down the CVV.
- If a guest sends a photo of their card — delete it on both sides and offer a payment link.
Payment links come from your acquiring bank or payment service; ask about them when you talk to the bank in Step 8.
Done when: the rule is signed and payment links are set up.
Step 5. Isolate payment terminals and check them for tampering
How to do it.
- Terminal list: model, serial number, location, who is responsible.
- Network: terminals connected over Ethernet or Wi-Fi go on a separate network (VLAN) that only allows outbound traffic to the bank's addresses; no computers, cameras or guests on that network (hotel Wi-Fi, Omada, Step 4). Terminals on mobile data are not connected to the hotel network at all.
- Tamper check once a week: the serial number matches the list, the casing is intact, there are no overlays on the keypad or card slot, the bank's seals are in place. If anything looks suspicious — stop using it and call the bank.
- Repair and replacement of a terminal go only through the bank; someone "from the bank" who turns up unannounced is not let near it.
Done when: the terminals are on the list and on a separate network, and the weekly check is logged.
Step 6. Check that the hotel website doesn't take cards itself
How to do it.
- Go through a booking on the website up to the payment page and look at the address bar: if the card number is entered on the bank's or payment service's page (you're redirected to their address) — good; if it's on a page of your own website, your questionnaire will be the longest one and the website becomes a target.
- The booking engine should come from a vendor with confirmed PCI DSS compliance (ask for the document — the AOC).
- Keep the website updated and protect its admin panel (exchanger website guide — the steps are the same for WordPress).
Done when: card numbers on the website are entered only on the payment provider's page, and the provider has a compliance document.
Step 7. Sort out Booking: virtual cards and "pay at the property"
How to do it.
- Card details in the Booking.com extranet are viewed only by the person taking the payment, who processes it right away through the terminal or the bank's payment link — no copying onto paper or into the PMS.
- If Payments by Booking.com is available for your property, the guest pays Booking, and you receive a payout by bank transfer or a virtual card for the specific booking (VCC), not the guest's card number. Availability and payout methods depend on the country and the property — check in the extranet.
- Permission to view cards in the extranet goes only to those who need it (Booking extranet guide, Step 1).
Done when: card numbers from the extranet aren't copied anywhere, and viewing permissions are restricted.
Step 8. Confirm the questionnaire with the bank and fill it in
How to do it.
- Write to your acquiring bank: "Which PCI DSS self-assessment questionnaire (SAQ) do we need to fill in, by when, and do we need quarterly external vulnerability scans (ASV)?" Get the answer in writing.
- A rough guide to the questionnaires hotels get:
| How you accept cards | Questionnaire (rough guide) |
|---|---|
| Only bank terminals not connected to your network (mobile data, phone line) | SAQ B |
| Bank terminals connected to your network over IP | SAQ B-IP |
| Website payment handled entirely by the provider (redirect or iframe) | SAQ A |
| The front desk keys cards into the bank's virtual terminal in a browser | SAQ C-VT |
| A POS system or PMS that takes cards and is connected to the internet | SAQ C or D |
If you use several methods, you may end up with one longer questionnaire or several; the bank decides. 3. Fill in the questionnaire based on the facts after Steps 1–7 — many answers will become "yes" precisely because of them. 4. For a franchise of a hotel brand (Hilton, Wyndham, Marriott and others) — the brand has its own security requirements; request them from the management company.
Done when: you have the bank's written answer, and the questionnaire is filled in and submitted.
Step 9. Check every quarter
| Check | Expected |
|---|---|
| Step 2 script across computers and shared folders | nothing found |
| Email search for "card", "CVV", "authorization" | no card numbers |
| Terminals | serial numbers match, no signs of tampering |
| Terminal network | computers and the internet are unreachable from it, except the bank |
| Website | cards are entered on the provider's page |
| Bank's answer and questionnaire | current for this year |
Done when: every row matches, and the record is written up.
Checklist
| # | What to check | How to confirm | ☐ |
|---|---|---|---|
| 1.1 | All card paths are in the table | every row of the Step 1 table is filled in, and paths it didn't have are added (restaurant, spa, transfers) | ☐ |
| 1.2 | The people who handle the paths have confirmed them | ask the front desk, accounting and the restaurant: "How does a card number reach you?" — every answer is in the table | ☐ |
| 1.3 | Every path has a step that closes it | no empty cells in the last column of the table | ☐ |
| 2.1 | The script finds card numbers and skips booking numbers | a test file with 4111 1111 1111 1111 and a 13-digit booking number — only the first one appears in the output, masked |
☐ |
| 2.2 | Every computer and shared folder has been scanned | there is a C:\pci\found.csv for each front desk and accounting computer and for \\NAS\share |
☐ |
| 2.3 | Word, Excel and email have been checked | important spreadsheets saved as CSV and run through the script; email searched for "card", "credit card", "CVV", "authorization" | ☐ |
| 3.1 | No numbers in files | a repeat run of the Step 2 script finds nothing | ☐ |
| 3.2 | No numbers in email | a search for "card", "CVV", "authorization" in Inbox, Sent and Trash finds no emails with numbers | ☐ |
| 3.3 | The PMS holds only the last 4 digits | open booking notes from recent months — instead of numbers, "card verified, last 4 digits ____" | ☐ |
| 3.4 | No paper and no CVV anywhere | the front desk has no forms or notes with numbers; CVV doesn't appear in any record; found.csv is deleted |
☐ |
| 4.1 | The rule is signed | signatures of all front desk and accounting staff on the rule sheet | ☐ |
| 4.2 | The payment link works | send yourself a payment link — it opens the bank's or payment service's page, not a form in an email | ☐ |
| 4.3 | The front desk knows what to do with an authorization form | ask: "A guest sent a form with their card — what do you do?" — "delete it and send a payment link" | ☐ |
| 5.1 | The terminal list is complete | the list has model, serial number, location and the person responsible for each terminal; the count matches reality | ☐ |
| 5.2 | Terminals are on a separate network | in the router settings the terminals are on their own VLAN; from the front desk computer ping <terminal address> gets no reply |
☐ |
| 5.3 | The tamper check is weekly | the log has entries for the last four weeks: serial numbers matched, seals in place, no overlays | ☐ |
| 6.1 | Website card entry happens at the provider | go through a booking up to payment — on the card entry page, the address bar shows the bank's or payment service's domain | ☐ |
| 6.2 | The booking engine has a compliance document | the engine vendor's AOC has been received and is stored with the questionnaire | ☐ |
| 7.1 | Numbers from the extranet aren't copied anywhere | ask the front desk how they process a card from the extranet: "straight through the terminal or a link, we don't write it down" | ☐ |
| 7.2 | Only the right people see cards in the extranet | extranet → Create and manage users — access to payment details only for those who take payments | ☐ |
| 7.3 | Payments by Booking.com has been checked | checked in the extranet whether the feature is available for your property; the decision is written down | ☐ |
| 8.1 | The bank's answer is in writing | the bank's email states the SAQ type, the deadline and whether ASV scans are needed | ☐ |
| 8.2 | The questionnaire is filled in and submitted | a copy of the questionnaire and the submission date are kept with the bank's answer | ☐ |
| 8.3 | Brand requirements are covered (for franchises) | the management company's requirements are received and checked against Steps 1–7 | ☐ |
| 9.1 | The quarterly check is done | every row of the Step 9 table matched, a dated record is written, the next check is in the calendar | ☐ |
Questions
Do we need "PCI DSS certification"?
A small hotel usually needs not a certification with an auditor but a self-assessment questionnaire at the bank's request. An audit (ROC) is for large transaction volumes; the bank and the card brands decide.
If we only take cash and a bank terminal, does PCI not apply to us?
It does, in a minimal form: the terminal and everything around it, plus paper and email where a card number can end up "by accident". The questionnaire will be short.
Who checks compliance — the PCI Council?
No. The PCI SSC writes the standard and the questionnaires but, in its own words, doesn't enforce compliance: the card brands run the compliance programs, and it's your acquiring bank that asks you for it. So questions about "what to fill in and when" go to the bank (Step 8).
What happens if we don't fill in the questionnaire?
Visa may fine the acquiring bank for non-compliance, and how the bank passes such costs on to you is set out in your contract with it. Under Visa's rules, such fines may not apply if you were PCI DSS compliant both before and at the time of a breach — a completed questionnaire and the steps you've taken work in your favor.
Can we store a card number if it's encrypted?
The standard allows it (Requirement 3.5.1: the number must be unreadable wherever it's stored), but then encryption key management and the rest of the storage requirements fall on you. The CVV can't be stored after payment authorization, even encrypted (Requirements 3.3.1 and 3.3.1.2). For a small hotel it's simpler not to store the number at all — Step 4.
Can we write down the last 4 digits of the card?
Yes, that's exactly what Step 3 suggests: "card verified, last 4 digits ____". The standard itself allows staff to see no more than the bank identification digits (BIN) and the last four (Requirement 3.4.1). The full number and the CVV — no.
How often do we fill in the questionnaire, and what is an ASV scan?
The bank sets the deadline and frequency — ask in the same email (Step 8). An ASV scan is an external check of your internet-facing systems by a company approved by the PCI Council; if it's part of your questionnaire, it's done at least once every three months (Requirement 11.3.2). Do your own quarterly check (Step 9) either way.
Our PMS is "PCI DSS compliant" — so are we?
No. The vendor's document (AOC) covers its part — how the PMS stores and processes cards. Numbers in notes, emails and on paper, the terminal network and the front desk computers are your responsibility; Steps 2–5 cover them.
Which version of PCI DSS applies, and is it available in Russian?
The current version is 4.0.1; version 3.2.1 was retired on March 31, 2024, and the new version 4 requirements became mandatory on March 31, 2025. The PCI SSC has published version 4.0 translations in German, Portuguese, Chinese, Japanese, French and Spanish — Russian isn't among them, so work from the English text in the PCI SSC document library.
We suspect guest cards have leaked — who do we tell first?
Your acquiring bank, right away: a PCI DSS incident response plan must include notifying the bank and the card brands (Requirement 12.10.1), and the bank sets the procedure from there. Don't reinstall the terminals and computers the cards passed through before you've spoken to the bank — the traces may be needed. If guests' personal data is also affected, notify the regulator within the legal deadline (ransomware guide, Step 7).
Note: The SAQ choice is a rough guide; your acquiring bank makes the final call.
Sources
- PCI Security Standards Council — PCI DSS v4.0.1 and Self-Assessment Questionnaires (SAQ)
- UK ICO — Marriott International fined £18.4m (Starwood breach, 2020)
- Booking.com for Developers — Payments by Booking: understanding payouts (bank transfer, virtual card)
- PCI DSS v4.0.1 — Requirements and Testing Procedures (Requirements 3.3.1, 3.3.1.2, 3.4.1, 3.5.1, 11.3.2, 12.10.1)
- PCI SSC FAQ 1212 — The Council does not enforce compliance; the payment brands run compliance programs
- Visa — Account Information Security Program and PCI (non-compliance fines to the acquirer)
- PCI SSC Blog — Now is the Time to Adopt the Future-Dated Requirements of PCI DSS v4.x (3.2.1 retired 31.03.2024, new requirements effective 31.03.2025)
- PCI SSC Blog — PCI DSS v4.0 Resource Hub (translation languages)