The handler interface for delivering a request for payment from another user of your app.
- iOS 10.0+
- UIKit for Mac 13.0+Beta
- watchOS 3.2+
Use the methods of the
INRequest protocol to resolve, confirm, and handle the requesting of money from another user of your app. Adopt this protocol in an object of your Intents extension that is capable of contacting the designated user and communicating the request for payment.
Siri delivers an
INRequest object to your handler when the user makes a request for payment using your app. The provided intent object contains the details of the payment request, including the recipient of the request, the amount of the payment, and any memos associated with the payment. Use the methods of this protocol to resolve the payment parameters and to validate that the payment is possible.