> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# provideNolPayLinkedCardsComponent

This method allows you get a new instance of `NolPayLinkedCardsComponent` to manage linked cards for Nol Pay.

```swift SWIFT theme={"dark"}
func provideNolPayGetLinkedCardsComponent() -> NolPayLinkedCardsComponent
```

## Returns

An instance of `NolPayLinkedCardsComponent`.

<Expandable title="NolPayLinkedCardsComponent" defaultOpen>
  <ResponseField name="func getLinkedCardsFor(mobileNumber: String, completion: @escaping (Result<[PrimerNolPaymentCard], PrimerError>) -> Void)">
    Retrieves a list of linked nol Pay cards associated with the specified mobile number and phone
    country dialing code.

    <Expandable title="Properties" defaultOpen>
      <ResponseField name="mobileNumber" type="String">
        The mobile number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format for which linked cards are to be retrieved.
      </ResponseField>

      <ResponseField name="completion" type="(Result<[PrimerNolPaymentCard], PrimerError>)">
        Returns Swift.Result containing either a list of linked [`PrimerNolPaymentCard`](/sdk/ios/v2.x.x/primer-headless-checkout/nol-pay-manager/PrimerNolPaymentCard) objects on success or an error on failure.

        In case of error while fetching the linked cards, as part of the `Result` object, SDK will return `PrimerError.nolError`.
      </ResponseField>
    </Expandable>
  </ResponseField>
</Expandable>
