November 19, 2024
cancel
Showing results for 
Search instead for 
Did you mean: 
Help
stacy_love
Marqeta Staff
Marqeta Staff

We sometimes get questions about how a card number (PAN) is chosen when creating cards. Here are a few details:

  • As part of card creation, a PAN is randomly generated within a program’s assigned BIN range. If that PAN is unavailable for any reason, another random PAN is generated until we find one that’s available.
  • A total of 100 attempts are made. If a unique PAN could not be found after 100 retries, an error is raised.

If you have any questions, comment below. You can also find more information about PANs and cards in the About Cards guide. 

Version history
Last update:
‎09-02-2021 11:41 PM
Updated by:
Contributors