Square Test Credit Cards for Integration Testing

If you are integrating your shop with Square, you will need to have some test bank card numbers at hand.

With test bank cards listed below, you can easily generate dummy orders in a sandbox environment (also called the test environment) and pass the integration testing. 

Here is the full list of Square test credit card numbers:

BrandNumberExpiry dateCVV
Visa4111 1111 1111 1111Any111
Mastercard5105 1051 0510 5100Any111
American Express3400 000000 00009Any1111
Discover6011 0000 0000 0004Any111
Diners Club3000 000000 0004Any111
JCB3569 9900 1009 5841Any111
China UnionPay6222 9888 1234 0000Any123
Square Gift Card7783 3200 0000 0000Any

Source: developer.squareup.com

Note: You can set card expiry date to any future month and year. In case you try to enter expiry date that is due, you will not be able to proceed with the test order as the system will consider the payment card to be expired.

Good luck with the integration testing!

If you found this post helpful, I'd appreciate it if you would share it.

Author: Drasko Georgijev

I'm a financial technology professional with 15+ years of experience in payment cards, eCommerce, card machines transaction processing and switching.
From time to time, I'm sharing some helpful tips, tactics, and news about Digital Commerce and Fintech.
So don't forget to share this post and subscribe to my mailing list.

Got questions? Ping me on LinkedIn.


You may also like: