The handler interface for paying a bill using money from the user’s account.
- iOS 10.3+
- UIKit for Mac 13.0+Beta
- watchOS 3.2+
Use the methods of the
INPay protocol to resolve, confirm, and handle requests to pay bills. Adopt this protocol in an object of your Intents extension that is capable of initiating the bill-payment process.
Siri delivers an
INPay object to your handler when the user asks to pay a bill using your app. The provided intent object contains information about the bill, including the amount to pay and the organization to receive the money. Use the methods of this protocol to resolve the organization and payment details and initiate the transaction.