Last active
July 14, 2025 16:12
-
-
Save KHCode/f058348738d2cd3bc5b2f3bb5b28e8d7 to your computer and use it in GitHub Desktop.
Square testing numbers and links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACH Testing: https://docs.stripe.com/payments/ach-direct-debit#testing-ach | |
Test account numbers | |
Stripe provides several test account numbers and corresponding tokens you can use to make sure your integration for manually-entered bank accounts is ready for production. | |
Account number Token Routing number Behavior | |
000123456789 pm_usBankAccount_success 110000000 The payment succeeds. | |
000111111113 pm_usBankAccount_accountClosed 110000000 The payment fails because the account is closed. | |
000000004954 pm_usBankAccount_riskLevelHighest 110000000 The payment is blocked by Radar due to a high risk of fraud. | |
000111111116 pm_usBankAccount_noAccount 110000000 The payment fails because no account is found. | |
000222222227 pm_usBankAccount_insufficientFunds 110000000 The payment fails due to insufficient funds. | |
000333333335 pm_usBankAccount_debitNotAuthorized 110000000 The payment fails because debits aren’t authorized. | |
000444444440 pm_usBankAccount_invalidCurrency 110000000 The payment fails due to invalid currency. | |
000666666661 pm_usBankAccount_failMicrodeposits 110000000 The payment fails to send microdeposits. | |
000555555559 pm_usBankAccount_dispute 110000000 The payment triggers a dispute. | |
000000000009 pm_usBankAccount_processing 110000000 The payment stays in processing indefinitely. Useful for testing PaymentIntent cancellation. | |
000777777771 pm_usBankAccount_weeklyLimitExceeded 110000000 The payment fails due to payment amount causing the account to exceed its weekly payment volume limit. | |
Credit Card (and Gift Card) Testing: https://developer.squareup.com/docs/devtools/sandbox/payments#client-side-testing | |
Card-not-present success state values | |
The Sandbox supports a collection of credit card numbers for all Square-supported card brands for simulating the client side of payment scenarios. | |
Brand Number CVV | |
Visa 4111 1111 1111 1111 111 | |
Mastercard 5105 1051 0510 5100 111 | |
Discover 6011 0000 0000 0004 111 | |
Diners Club 3000 000000 0004 111 | |
JCB 3569 9900 1009 5841 111 | |
American Express 3400 000000 00009 1111 | |
China UnionPay 6222 9888 1234 0000 123 | |
Square Gift Card 7783 3200 0000 0000 ⛔ | |
Error state values | |
You can reproduce certain error states in the Sandbox by providing special values in the Web Payments SDK or In-App Payments SDK. | |
If you use one of the following values, the returned payment token generates an error when it's processed by the CreatePayment | |
endpoint. | |
Test values Desired error state | |
CVV: 911 Card CVV incorrect | |
Postal code: 99999 Card postal code incorrect | |
Expiration date: 01/40 Card expiration date incorrect | |
Card number: 4000000000000002 Card declined number | |
PAN: 4000000000000010 Card on file auth declined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment