<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayModifier/paymentMethodType",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayModifier/paymentMethodType"
  },
  "title" : "paymentMethodType"
}
-->

# paymentMethodType

The type of card the customer uses to complete the transaction.

```
ApplePayPaymentMethodType paymentMethodType;
```

## Discussion

This property in the [`ApplePayModifier`](/documentation/ApplePayontheWeb/ApplePayModifier) dictionary indicates the type of payment card that the [`ApplePayModifier`](/documentation/ApplePayontheWeb/ApplePayModifier) applies to: `"credit"`, `"debit"`, `"prepaid"`, or `"store"`. To create a modifier that works with all payment types, don’t provide a value for the [`paymentMethodType`](/documentation/ApplePayontheWeb/ApplePayModifier/paymentMethodType).

The payment request uses the [`ApplePayModifier`](/documentation/ApplePayontheWeb/ApplePayModifier) that matches the payment method that the customer chooses. For example, if the customer chooses to pay with a debit card, the payment request uses the [`ApplePayModifier`](/documentation/ApplePayontheWeb/ApplePayModifier) with a [`paymentMethodType`](/documentation/ApplePayontheWeb/ApplePayModifier/paymentMethodType) of `"debit"`, or a modifier that doesn’t specify any [`paymentMethodType`](/documentation/ApplePayontheWeb/ApplePayModifier/paymentMethodType).

---

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)