Contents

availableNetworks()

Returns the list of available payment methods that Apple Pay supports.

Declaration

class func availableNetworks() -> [PKPaymentNetwork]

Return Value

An array of strings representing the available payment networks. For a list of possible networks, see PKPaymentNetwork.

Discussion

To dynamically select the payment networks at runtime, use this method to get the complete list of currently supported networks. You can then filter this list, as needed, and assign the results to the payment request’s supportedNetworks property.

See Also

Related Documentation

  • Wallet Developer Guide

Selecting the payment networks