## Retrieve card networks

`stripe.retrieveCardNetworks(rawCardNumber: string)`

Used in [custom integrations](https://docs.stripe.com/co-badged-cards-compliance?type=custom-integration) to support co-badged card compliance.

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), will automatically display a network selector when you meet the [applicability criteria](https://docs.stripe.com/co-badged-cards-compliance?type=custom-integration#when-regulation-applies), if configured properly. You can migrate to a Stripe-hosted UI to use these features.

- `rawCardNumber`
  The card number entered in your card collection form. When passed 8 or more digits of the card number, the method starts returning available networks for the card.

In order to pass these card details to Stripe, you must [have access to raw card data APIs](https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis).

### Example

```title
Retrieve card networks
```
