Advertisement

Prefix 51–55, 2221–2720 · 16 digits · 3-digit CVV

Costa Rica Credit Card Generator

Generate test card numbers that start with real BINs from banks in Costa Rica — preset with Banco Nacional de Costa Rica (510714). Luhn-valid, with expiry date and CVV. Test data only, not real cards.

Advertisement
Local bank BINs
Generated cards

Test data only — these numbers are not issued by any bank and every real payment with them will be declined.

Advertisement

Generated locally with your browser’s crypto API — nothing is sent to a server.

Mastercard format

Starts with
51–55, 2221–2720
Length
16
Security code
3
Stripe
5555 5555 5555 4444
Mastercard generator
Advertisement

Brand ranges at a glance

The prefixes and lengths your checkout must accept. Each brand has its own generator page.

For developers & QA

Test data that stays out of PCI scope

Use generated numbers for everything before the payment request, then switch to your gateway’s official sandbox cards for approvals, declines and 3-D Secure.

  • Test form validation & input masks
  • Seed staging databases and demos
  • Reproduce declines and 3-D Secure in the sandbox
Browse gateway test cards

Official sandbox cards, per gateway

All 18 gateways →

Real BINs from banks in Costa Rica

The generator above is preset with BIN 510714, a Mastercard debit range of Banco Nacional de Costa Rica. 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.

BINIssuerNetworkType · levelUse this BIN
510714 Banco Nacional de Costa Rica MastercardDebit · Standard Use
449830 Banco Promerica de Costa Rica, S.A. VisaCredit · Classic Use
414282 Banco de Costa Rica VisaDebit · Classic Use
230892 Cooperativa Nacional de Educadores, R.l.(coopenae RL) MastercardDebit · Standard Use
404485 Scotiabank de Costa Rica, S.A. VisaCredit · Platinum Use
441576 Banco Popular y de Desarrollo Comunal VisaCredit · Classic Use
516777 Banco Bac San Jose, S.A. MastercardDebit · Standard Use
416828 Ath Costa Rica, S.A. VisaDebit · Classic Use

One BIN per bank — the most common Visa or Mastercard product of each of the largest issuers. All 711 BINs with a named issuer are in the Costa Rica BIN list.

Largest card issuers in Costa Rica

The 10 banks with the most BINs in the data, out of 70 named issuers. Each bank with ten or more BINs has a page listing all of them.

Advertisement

Card networks and card types in Costa Rica

We count 836 card BINs for Costa Rica — 711 with a known issuer, from 70 banks. The largest network is Visa with 44% of the ranges, followed by Mastercard (28%). Credit ranges outnumber debit ranges 538 to 298. 23 ranges are prepaid or gift products and 83 are business, corporate or commercial cards.

NetworkBINsShareDebitCredit
Visa365 44%106259
Mastercard237 28%82155
Maestro107 13%1070
UATP100 12%0100
Diners Club13 2%013
American Express13 2%211
Private label1 less than 1%10

Most common product levels: Standard (178), Classic (152), UATP (100), Gold (99), Platinum (66).

Payment testing notes for Costa Rica

Generated numbers only pass format checks: network prefix, length and the Luhn checksum. They are not issued by any bank in Costa Rica, carry no money and are declined by every real payment system — use them for forms, validation and BIN rules, and switch to your gateway's documented test cards for approvals and declines.

← Generators for other countries · Costa Rica 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 Costa Rica credit card number for testing?

Yes. The generator on this page starts every number with a real BIN registered to a bank in Costa Rica — by default 510714 (Banco Nacional de Costa Rica, Mastercard debit). The remaining digits are random and the last one is a Luhn check digit. No bank issued the number, so it carries no account and real payments with it are declined.

Which card networks are most common in Costa Rica?

By BIN count in our data: Visa 44%, Mastercard 28%, Maestro 13%, UATP 12%. Debit ranges make up 36% and credit ranges 64%.

Which BINs do Visa cards from Costa Rica start with?

Examples from different banks: 449830 (Banco Promerica de Costa Rica, S.A.); 414282 (Banco de Costa Rica); 404485 (Scotiabank de Costa Rica, S.A.); 441576 (Banco Popular y de Desarrollo Comunal). See the Costa Rica BIN list for every bank.

Which currency should I use to test payments from Costa Rica?

CRC (Costa Rican colón). Gateway APIs usually expect amounts in the smallest unit (for example 1050 for 10.50). A card from any country can pay in any currency the merchant supports; the issuer handles conversion.

Will these numbers pass a payment gateway?

They pass format checks — length, network prefix and the Luhn checksum — so they are ideal for testing form validation and BIN-based rules. Gateways in test mode want their own documented test cards for approvals and declines; in live mode every generated number is declined because no bank has issued it.

Related tools

Advertisement