Square Card Test: Test Card Numbers and Sandbox Steps

A Square card test uses the fake card numbers Square publishes for its sandbox. Enter one of those numbers with any future expiration date and CVV 111, and Square returns a successful payment without moving money. The numbers fail outside the sandbox, so they cannot charge a live account.

Square Card Check Tool Review: Top Pick & Criteria

What is a Square card test?

A Square card test is a payment run against Square's sandbox with a test card number in place of a real card. Developers use it to check checkout forms, API calls, refunds, and webhook handling before launch.

square card test utility

The sandbox mirrors the production API. Payments, customers, and refunds return the same response shapes. The difference is the money: no funds move, and no issuer sees the transaction.

square card validation

Which test card numbers does Square provide?

Square's test values page lists numbers for the major card networks. Each one passes the Luhn check, so client-side validation accepts it.

read more

Use CVV 111 and any expiration date in the future. The cardholder name can be any text.

Do the test numbers work with every Square product?

Card-not-present flows in the sandbox accept them, including the Web Payments SDK and the Payments API. Reader-based products depend on the device setup, so check the test values page for that product before you build a test plan around it.

How do you run a test payment in the Square sandbox?

  1. Sign in to the Square Developer Dashboard and open your application.
  2. Switch to the Sandbox tab and copy the sandbox Application ID and Location ID.
  3. Load the Web Payments SDK or call the Payments API with those sandbox credentials.
  4. Enter a test card number, a future expiration date, CVV 111, and any ZIP the form asks for.
  5. Submit the payment, then check the sandbox Dashboard for a COMPLETED payment and the matching webhook event.

The access token must come from the sandbox tab. A production token paired with a test card number returns a decline from the issuer, not a successful charge.

Why does a Square test card fail in live mode?

Test numbers belong to no real bank account. In production, the issuer sees a number that fails its own checks and returns "card declined" or "invalid card number."

Square also blocks known test numbers on live credentials. Repeat attempts on one form look like card testing, and that pattern gets flagged fast.

What is card testing, and why does it matter?

Card testing is the practice of running card numbers through a payment form to find which ones still work. Fraudsters pick small amounts and merchants with weak velocity checks. Square's terms prohibit it, and card networks treat it as fraud.

Using a card number you do not own, even for a one-cent charge, is unauthorized use of a payment card. In the US it falls under wire fraud and identity theft law, and the merchant account that processed the charge keeps the chargebacks.

What signs of card testing do processors watch for?

Common mistakes when testing Square payments

FAQ

Do Square test cards charge real money?

No. Sandbox payments move no funds. The charge exists only in the sandbox Dashboard, and you can void or refund it like any other test payment.

Can I use 4111 1111 1111 1111 in production?

No. That number is public and blocked on live credentials. Production needs a real card from a real issuer.

Which CVV and expiry should I use?

Use CVV 111 with any future date to match the documentation. Other values may pass, but 111 is the one Square tests against.

Does the sandbox support refunds and disputes?

Refunds work. Dispute flows are limited in the sandbox, so read the docs before you build a test plan around them.

Why does my sandbox payment return a decline?

Common causes are production credentials, an expired date, or a number that is not on the test values list. Check the environment first.

More

Read our complete guide: Buy CVV Cheap: Pricing, Risks, and What First-Time Buyers Need to Know