---
title: type
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpaymentmethod/type
---

# type

A value that represents the card’s type.

## Declaration

```swift
var type: PKPaymentMethodType { get }
```

## Discussion

Discussion For a list of possible card types, see PKPaymentMethodType. note: Some older cards might not have card type information. Those cards have the value PKPaymentMethodType.unknown.

## See Also

### Getting the payment method’s attributes

- [PKPaymentMethodType](passkit/pkpaymentmethodtype.md)
- [displayName](passkit/pkpaymentmethod/displayname.md)
- [network](passkit/pkpaymentmethod/network.md)
- [billingAddress](passkit/pkpaymentmethod/billingaddress.md)
