A secure testing tool for payment system developers and QA professionals. All test numbers are non-functional and strictly for development environments.

Conekta test cards

Conekta is a Mexican payment gateway. In test mode (with your test API keys), the cards below produce a successful charge. Enter any name and CVC and any future expiry date. All credit cards also work for MSI (meses sin intereses) payments.

*All random cards generated are structurally valid but have no actual balance and cannot be used for online payments or real transactions. Any attempt to use these test card numbers for actual purchases is strictly prohibited and illegal. For more details, visit our Terms of Service.

Test cards

Card number Network Type CVV Expiry Test token
4242 4242 4242 4242 Visa Credit Any 3 digits Any future date tok_test_visa_4242
4012 8888 8888 1881 Visa Credit Any 3 digits Any future date tok_test_visa_1881
5555 5555 5555 4444 Mastercard Credit Any 3 digits Any future date tok_test_mastercard_4444
5105 1051 0510 5100 Mastercard Credit Any 3 digits Any future date tok_test_mastercard_5100
3782 822463 10005 American Express Credit Any 3 or 4 digits Any future date tok_test_amex_0005
3714 496353 98431 American Express Credit Any 3 or 4 digits Any future date tok_test_amex_8431
3707 810000 00007 American Express Credit Any 3 or 4 digits Any future date tok_test_amex_0006
4915 6693 5323 7603 Visa Debit Any 3 digits Any future date tok_test_banorte_debit
5576 0413 8540 2646 Mastercard Debit Any 3 digits Any future date tok_test_banco_azteca_debit

Source: official Conekta documentation, checked on 2026-09-18

Simulate a declined payment

Each of these credit card numbers returns the listed error code in test mode.

Code Card number Notes
insufficient_funds 4000 0000 0000 0127 β€”
card_declined 4000 0000 0000 0002 β€”
invalid_cvc 4000 0000 0000 0085 β€”
stolen_card 4000 0000 0000 9979 β€”
card_over_limit 4765 8894 0483 3223 β€”
suspicious_behaviour 4000 0000 0000 4954 β€”
blocked_payment_source 4000 0000 0000 9235 β€”
attempts_over_limit 5201 1695 9880 6528 β€”
amount_over_limit 5579 2344 3346 7094 β€”
invalid_expiration_date 4765 8814 8776 4268 β€”
call_issuer 4134 0673 5273 6334 β€”
expired_card β€” Use any valid test card with a past expiry date, e.g. 03/20
invalid_expiry_month β€” Use an invalid expiry month, e.g. 14

Source: official Conekta documentation, checked on 2026-09-18

  • A card tokenized in test mode must be charged within 10 minutes; after that the API returns a "card data capture expired" error.
  • These numbers only work in the provider's test mode. They have no balance and are rejected in production.
  • Providers change their sandbox cards from time to time. If a number stops working, check the linked documentation.
  • Need numbers for a specific BIN instead? Use the test card generator.

Other gateways

Free payment testing tools