## Retrieve card networks

In order to comply with [co-badged cards compliance](https://docs.stripe.com/co-badged-cards-compliance), eligible businesses must honor customers’ card brand choice for co-badged cards. Stripe-hosted UIs, such as [Checkout](https://docs.stripe.com/payments/checkout), [Payment Links](https://docs.stripe.com/payment-links), and [Elements](https://docs.stripe.com/payments/elements), can automatically display a network selector when you meet the elgibility criteria. You can migrate to a Stripe-hosted UI to use these features. If you instead maintain a [custom checkout integration](https://docs.stripe.com/co-badged-cards-compliance?type=custom-integration#integration-guides) and [have access to raw card data APIs](https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis), Stripe provides the following method to identify available networks for customer card numbers.