Real BINs from banks in Spain
The generator above is preset with BIN 400741, a Visa credit range of CaixaBank, S.A. Pick another bank's BIN below to switch — each number keeps the BIN, gets random digits and a Luhn check digit, and comes with a random expiry date and CVV.
| BIN | Issuer | Network | Type · level | Use this BIN |
|---|---|---|---|---|
| 400741 | CaixaBank, S.A. | Visa | Credit · Classic | Use |
| 401851 | Banco Cooperativo Espanol, S.A. | Visa | Credit · Classic | Use |
| 512483 | Mastercajas, S.A. | Mastercard | Credit · Standard | Use |
| 510131 | Banco Santander, S.A. | Mastercard | Debit · Platinum | Use |
| 431213 | Servired, Sociedad Espanola de Medios de Pago S.A. | Visa | Credit | Use |
| 403519 | Banco Bilbao Vizcaya Argentaria S.A. (BBVA) | Visa | Credit · Classic | Use |
| 410216 | Banco Popular Espanol, S.A. | Visa | Credit · Classic | Use |
| 403430 | Banco de Sabadell, S.A. | Visa | Credit · Classic | Use |
Each row is a different bank: its most common Visa or Mastercard range. All 3,124 BINs with a named issuer are in the Spain BIN list.
Card networks and card types in Spain
We count 4,135 card BINs for Spain — 3,124 with a known issuer, from 245 banks. The largest network is Visa with 47% of the ranges, followed by Maestro (22%). Credit ranges outnumber debit ranges 2,320 to 1,815. Visa ranges outnumber Mastercard 2.6 to 1. 234 ranges are prepaid or gift products and 625 are business, corporate or commercial cards.
| Network | BINs | Share | Debit | Credit |
|---|---|---|---|---|
| Visa | 1,927 | 47% | 540 | 1,387 |
| Maestro | 908 | 22% | 908 | 0 |
| Mastercard | 738 | 18% | 297 | 441 |
| American Express | 240 | 6% | 0 | 240 |
| Diners Club | 132 | 3% | 0 | 132 |
| UATP | 100 | 2% | 0 | 100 |
| Private label | 82 | 2% | 65 | 17 |
| UnionPay | 5 | less than 1% | 4 | 1 |
Most common product levels: Standard (858), Classic (686), Business (352), Gold (297), Electron (223).
Largest card issuers in Spain
The 10 banks with the most BINs in the data, out of 245 named issuers. The three largest issuers — CaixaBank, Banco Cooperativo Espanol and Mastercajas — hold 23% of the BINs with a named bank. Click a bank to see every BIN it has in Spain.
| Issuer | BINs | Main network | Debit |
|---|---|---|---|
| CaixaBank, S.A. | 310 | Visa | 40% |
| Banco Cooperativo Espanol, S.A. | 203 | Visa | 45% |
| Mastercajas, S.A. | 198 | Maestro | 71% |
| Banco Santander, S.A. | 187 | Mastercard | 32% |
| Servired, Sociedad Espanola de Medios de Pago S.A. | 167 | Visa | 28% |
| Banco Bilbao Vizcaya Argentaria S.A. (BBVA) | 147 | Visa | 35% |
| Banco Popular Espanol, S.A. | 129 | Visa | 12% |
| Banco de Sabadell, S.A. | 112 | Visa | 38% |
| Iberia Lineas Aereas de Espana | 100 | UATP | 0% |
| DC Spain | 66 | Diners Club | 0% |
Payment testing notes for Spain
- Currency: EUR (euro). Most gateway APIs expect amounts in the smallest unit, for example 1050 for 10.50.
- Card authentication: PSD2 strong customer authentication (Delegated Regulation (EU) 2018/389, in effect since 14 September 2019) applies to customer-initiated online card payments in the EEA; cards meet it through 3-D Secure, with exemptions for some low-risk and merchant-initiated payments. Source
- Card country: Checkouts that route domestic and international cards differently decide by the BIN country. A BIN from Spain tests the domestic route; any foreign BIN tests the cross-border one.
- Debit vs credit: Debit makes up just 44% of the ranges here, below 31 of the other 62 countries we cover. Debit and credit often follow different rules for refunds, installments and recurring billing, so cover both types.
- Billing details: postcodes in Spain are 5 digits; the first two give the province (01-52) (e.g. 28013); phone numbers use +34 — 9-digit numbers; mobile numbers start with 6 or 7 (7 followed by 1-9), e.g. 6xx xxx xxx. Generate Spain test addresses.
- Bizum, a bank-run mobile payment service, is popular for person-to-person and online payments.
Paying online in Spain: local methods and gateways
Cards are only part of the picture. These payment methods are popular in Spain and usually sit next to the card form at checkout:
- Bizum (wallet) — Spanish real-time payment system: the shopper enters the phone number registered with Bizum and approves the payment in their bank's app (EUR only). Source
- PayPal (wallet) — PayPal wallet, available to Spanish businesses and buyers. Source
- SEPA Direct Debit (adeudo SEPA) (bank transfer) — Debit from a euro IBAN under a signed mandate, common for subscriptions. Source
Payment gateways developers commonly integrate for Spain, with their official sandbox docs:
| Gateway | About | Test cards |
|---|---|---|
| Redsys | Spanish card payment platform behind many Spanish bank virtual POS terminals; publishes test cards (e.g. 4548 81...) and test environments. | Official docs |
| PAYCOMET | Spanish payment gateway with a published test card list. | Official docs |
| MONEI | Spanish payment platform supporting cards and Bizum; testing docs list test cards. | Official docs |
| Stripe | Supports cards and Bizum for Spanish customers; test cards in its testing docs. | Stripe test cards |
Card generators for other countries
← Generators for other countries · Spain BIN list · BIN generator · BIN checker
BIN data: bin-list-data by Venelin Kochev (a lite version of binlookup.io), licensed under CC BY 4.0. Changes made by Fakecreditcard: issuer, brand and country names re-cased and standardized, spelling variants of the same issuer merged, malformed phone numbers and web addresses removed.
Frequently asked questions
Can I generate a Spain credit card number for testing?
Yes. Every number on this page starts with a real BIN registered to a bank in Spain — by default 400741 (CaixaBank, S.A, Visa credit). The remaining digits are random and the last one is a Luhn check digit. None of them is a real card; live payments fail.
Which card networks are most common in Spain?
By BIN count in our data: Visa 47%, Maestro 22%, Mastercard 18%, American Express 6%. Debit ranges make up 44% and credit ranges 56%.
Which BINs do Visa cards from Spain start with?
Examples from different banks: 400741 (CaixaBank, S.A.); 401851 (Banco Cooperativo Espanol, S.A.); 431213 (Servired, Sociedad Espanola de Medios de Pago S.A.); 403519 (Banco Bilbao Vizcaya Argentaria S.A. (BBVA)). See the Spain BIN list for every bank.
Which currency should I use to test payments from Spain?
EUR (euro). Gateway APIs usually expect amounts in the smallest unit (for example 1050 for 10.50). Also test a foreign-currency charge on a Spain BIN: the issuer converts it, which some checkouts display differently.
Is a generated Spain card number a real card?
No. They start with real BINs from banks in Spain such as CaixaBank, but no bank issued them: no account, no money, no cardholder. Every real purchase, free trial or card check declines them. To pay online, use a virtual or prepaid card from your bank or a wallet such as Bizum and PayPal. Testing a checkout? Use your gateway’s sandbox test cards.
Which payment methods should a checkout for Spain offer next to cards?
Bizum: Spanish real-time payment system: the shopper enters the phone number registered with Bizum and approves the payment in their bank's app (EUR only). PayPal: PayPal wallet, available to Spanish businesses and buyers. SEPA Direct Debit (adeudo SEPA): Debit from a euro IBAN under a signed mandate, common for subscriptions.