Instance Method


A Boolean value that indicates whether the app can add a card to Apple Pay for the provided primary account identifier.


func canAddPaymentPass(withPrimaryAccountIdentifier primaryAccountIdentifier: String) -> Bool



A unique identifier for the underlying funding primary account number (PAN). Note: This is not the PAN itself.

Return Value

true, if a pass can be added to Apple Pay.


Adding payment passes requires a special entitlement issued by Apple. If the entitlement is not present, this method returns false. For more information on requesting this entitlement, see the Card Issuers section on

See Also

Adding Payment Passes

func openPaymentSetup()

Opens the user interface to set up credit cards for Apple Pay.