Detailed information about a financial transaction made between two users.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
Framework
- Intents
Declaration
@interface INPaymentRecord : NSObject
Overview
An INPayment
object contains the details of a financial transaction that your app is facilitating. You create instances of this class when handling payment-related intents. The payment record contains the users involved in the transaction, the amount of money to transfer, and the current state of the transaction. Siri conveys this detailed information to the user at appropriate times.
When creating payment records, specify as many details as possible. Siri always asks the user to confirm payments before asking your Intents extension to process them. During confirmation, Siri displays the information from this object in the confirmation interface. Omitting important pieces of information, such as the recipient or currency amount, might cause the user to cancel the transaction.