<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/PaymentCardReader/isAccountLinked(using:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader011PaymentCardB0C15isAccountLinked5usingSbAC5TokenV_tYaKF"
  },
  "title" : "isAccountLinked(using:)"
}
-->

# isAccountLinked(using:)

A Boolean value that indicates whether the account is already linked.

```
func isAccountLinked(using token: PaymentCardReader.Token) async throws -> Bool
```

## Parameters

`token`

The token from your payment service provider. This token contains the merchant identifier.

## Discussion

Call [`linkAccount(using:)`](/documentation/ProximityReader/PaymentCardReader/linkAccount(using:)) to link an account.

> Note: If ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReader/prepare(using:)`` throws an ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReaderError/accountNotLinked`` error
> call ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReader/linkAccount(using:)`` again to relink the account.

> throws: ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReaderError``

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)