> ## 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`.

**NolPayLinkedCardsComponent**

**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.

**Properties**

**mobileNumber** `String`

The mobile number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format for which linked cards are to be retrieved.

**completion** `(Result\<[PrimerNolPaymentCard], PrimerError\>)`

Returns Swift.Result containing either a list of linked [`PrimerNolPaymentCard`](https://primer.io/docs/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`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.