---
title: INPaymentMethod
framework: intents
role: symbol
role_heading: Class
path: intents/inpaymentmethod
---

# INPaymentMethod

Information about a form of payment supported by your app.

## Declaration

```swift
class INPaymentMethod
```

## Overview

Overview An INPaymentMethod object describes a way in which a user can pay for services. A payment method object stores information that you can display to the user when choosing payment options. Specifically, the object stores information about the type of payment, the name of the payment service, and an icon for any related brand information. Typical payment methods include credit cards and bank accounts. For example, you would use a payment method object to specify information about a brand of credit card that you support. You create payment method objects as needed and include them in any appropriate response objects. The names of payment methods in a single response should be different to avoid confusion, but their types may still be the same. For example, you can have multiple credit card payment methods as long as each one has a unique name. note: You do not use payment methods to process actual payments from the user. You are responsible for handling any financial transactions from your app or Intents extension.

## Topics

### Initializing a Payment Object

- [init(type:name:identificationHint:icon:)](intents/inpaymentmethod/init(type:name:identificationhint:icon:).md)
- [applePay()](intents/inpaymentmethod/applepay().md)

### Getting the Payment Information

- [type](intents/inpaymentmethod/type.md)
- [INPaymentMethodType](intents/inpaymentmethodtype.md)
- [name](intents/inpaymentmethod/name.md)
- [identificationHint](intents/inpaymentmethod/identificationhint.md)
- [icon](intents/inpaymentmethod/icon.md)

### Initializers

- [init(coder:)](intents/inpaymentmethod/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Data Objects

- [INAccountType](intents/inaccounttype.md)
- [INCurrencyAmount](intents/incurrencyamount.md)
- [INPaymentAccount](intents/inpaymentaccount.md)
- [INPaymentAmount](intents/inpaymentamount.md)
- [INPaymentRecord](intents/inpaymentrecord.md)
- [INPaymentStatus](intents/inpaymentstatus.md)
- [INPerson](intents/inperson.md)
