Advertisement

Prefix 4 · 13, 16, 19 digits · 3-digit CVV

Sri Lanka Credit Card Generator

Generate test card numbers that start with real BINs from banks in Sri Lanka — preset with Hong Kong and Shanghai Banking Corp., Ltd (432705). Luhn-valid, with expiry date and CVV. Test data only, not real cards.

Advertisement

Runs in your browser · 8 networks · 374,788 BINs

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. Need a card that works online? Ask your bank for a virtual card. Testing a checkout? Use your gateway’s sandbox test cards.

Advertisement

Prefix 4 · 13, 16, 19 digits · 3-digit CVV

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

Visa format

Starts with
4
Length
13, 16, 19
Security code
3
Stripe
4242 4242 4242 4242
Visa generator
Advertisement

Real BINs from banks in Sri Lanka

The generator above is preset with BIN 432705, a Visa credit range of Hong Kong and Shanghai Banking Corp., Ltd. Click "Use" next to any other bank to switch; the BIN stays fixed while the rest of the Visa number is random, closed by a Luhn digit.

BINIssuerNetworkType · levelUse this BIN
432705 Hong Kong and Shanghai Banking Corp., Ltd VisaCredit Use
434342 Seylan Bank, Ltd VisaCredit Use
451816 Sampath Bank PLC VisaDebit · Classic Use
479981 Commercial Bank of Ceylon PLC VisaDebit · Prepaid Classic Use
400109 Hatton National Bank PLC VisaDebit · Classic Use
403815 Bank of Ceylon VisaDebit · Classic Use
419907 People's Bank VisaDebit · Classic Use
416802 National Development Bank PLC VisaCredit · Classic Use

Each row is a different bank: its most common Visa or Mastercard range. All 383 BINs with a named issuer are in the Sri Lanka BIN list.

Local card networks in Sri Lanka

Local schemes are where card forms usually break: their prefixes are missing from many brand-detection libraries. These are the domestic networks of Sri Lanka.

SchemeCard numbers start withLengthOnlineAbout
LankaPay JCB (National Card Scheme)
LankaClear (Pvt) Ltd, operator of LankaPay, with JCB International
357111 16 Yes Sri Lanka's National Card Scheme (commercial roll-out 2019): local-currency transactions are routed over the LankaPay network and foreign ones over JCB, so cards are accepted wherever JCB is. Yes, always co-badged with JCB. Source
Advertisement

Largest card issuers in Sri Lanka

The 10 banks with the most BINs in the data, out of 39 named issuers. Hong Kong and Shanghai Banking, Seylan Bank and Sampath Bank alone account for 35% of the named BINs in Sri Lanka. Follow a bank name for its complete list of ranges.

Card networks and card types in Sri Lanka

Our BIN data lists 403 BINs registered to Sri Lanka, 383 of them with a named issuer across 39 banks. Visa is the most common network (61% of the BINs), followed by Mastercard (31%). Credit ranges outnumber debit ranges 216 to 187. Visa ranges outnumber Mastercard 1.9 to 1. 42 ranges are prepaid or gift products and 22 are business, corporate or commercial cards.

NetworkBINsShareDebitCredit
Visa245 61%113132
Mastercard126 31%5670
American Express10 2%46
Maestro9 2%90
UnionPay6 1%33
JCB2 less than 1%11
Diners Club2 less than 1%02
Discover2 less than 1%02

Most common product levels: Classic (63), Platinum (54), Standard (35), Gold (35), Prepaid (20).

Payment testing notes for Sri Lanka

Paying online in Sri Lanka: local methods and gateways

Cards are only part of the picture. These payment methods are popular in Sri Lanka and usually sit next to the card form at checkout:

Payment gateways developers commonly integrate for Sri Lanka, with their official sandbox docs:

GatewayAboutTest cards
PayHereSri Lankan payment gateway with a sandbox (sandbox.payhere.lk) where payments are simulated and only its published test cards succeed. Official docs

Card generators for other countries

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

Yes. Every number on this page starts with a real BIN registered to a bank in Sri Lanka — by default 432705 (Hong Kong and Shanghai Banking Corp., Ltd, Visa credit). The remaining digits are random and the last one is a Luhn check digit. No bank issued them, so they carry no account and real payments are declined.

Which card networks are most common in Sri Lanka?

By BIN count in our data: Visa 61%, Mastercard 31%, American Express 2%, Maestro 2%. Debit ranges make up 46% and credit ranges 54%.

Which BINs do Visa cards from Sri Lanka start with?

Examples from different banks: 432705 (Hong Kong and Shanghai Banking Corp., Ltd); 434342 (Seylan Bank, Ltd); 451816 (Sampath Bank PLC); 479981 (Commercial Bank of Ceylon PLC). See the Sri Lanka BIN list for every bank.

Which currency should I use to test payments from Sri Lanka?

LKR (Sri Lankan rupee). Gateway APIs usually expect amounts in the smallest unit (for example 1050 for 10.50). Also test a foreign-currency charge on a Sri Lanka BIN: the issuer converts it, which some checkouts display differently.

Do these Sri Lanka card numbers work for payments?

No — format only. Banks in Sri Lanka decline numbers they never issued, which is every generated number. If you need to pay, a bank virtual card is the safe route. Testing a checkout? Use your gateway’s sandbox test cards.

What does a LankaPay JCB (National Card Scheme) card number look like?

LankaPay JCB (National Card Scheme) numbers start with 357111 and have 16 digits. Sri Lanka's National Card Scheme (commercial roll-out 2019): local-currency transactions are routed over the LankaPay network and foreign ones over JCB, so cards are accepted wherever JCB is. Make sure your card form accepts these prefixes instead of rejecting them as an unknown brand.

How do people pay online in Sri Lanka besides cards?

LANKAQR: Central Bank of Sri Lanka's national QR standard (2018): customers pay straight from their bank account to the merchant through any LankaQR-certified app, over LankaPay's CEFTS/JustPay rails. JustPay: LankaPay's account-to-account payment platform, which lets licensed fintechs debit bank accounts through a partner bank.

Related tools

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 →

Advertisement