Type Method

availableNetworks

Returns the list of available payment networks that are supported by Apple Pay.

Declaration

+ (NSArray<PKPaymentNetwork> *)availableNetworks;

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

Selecting the Payment Networks

supportedNetworks

The payment networks that you support.

PKPaymentNetwork

Payment networks.