Instance Property

merchantCapabilities

A bit field of the payment processing protocols and card types that you support.

Declaration

var merchantCapabilities: PKMerchantCapability { get set }

Discussion

The capability3DS and capabilityEMV values of PKMerchantCapability specify the supported cryptographic payment protocols. At least one of these two values is required.

Check with your payment processors about the cryptographic payment protocols they support. As a general rule, if you want to support China UnionPay cards, you use capabilityEMV. To support cards from other networks—like American Express, Visa, or Mastercard—use capability3DS.

To filter the types of cards to make available for the transaction, pass the capabilityCredit and capabilityDebit values. If neither is passed, all card types will be available.

See Also

Setting Merchant Information

var merchantIdentifier: String

Your merchant identifier.

struct PKMerchantCapability

Capabilities for processing payment.

var countryCode: String

The two-letter ISO 3166 country code.

var supportedCountries: Set<String>?

A list of ISO 3166 country codes to limit payments to cards from specific countries.

var currencyCode: String

The three-letter ISO 4217 currency code.