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.