INSendPaymentIntent
A request to transfer money from the current user’s account to a different user’s account.
Declaration
class INSendPaymentIntentOverview
Siri creates an INSendPaymentIntent object when the current user asks to transfer money to another user. A send payment intent object includes the payment amount and the recipient of the payment. Use that information to validate the transaction and transfer the funds.
To handle this intent, the handler object in your Intents extension must adopt the INSendPaymentIntentHandling protocol. Your handler should confirm the request and create an INSendPaymentIntentResponse object with the result of sending the money to the specified user.
This intent object represents a financial transaction between two users.
Additional Intent Attributes
The following table lists additional attributes of this intent object:
Attribute | Description |
|---|---|
Supported by | Siri Intents, Siri Suggestions, Shortcuts App |
Always requires unlocked device | Yes |
When performing a search, Siri automatically asks the user to unlock a currently locked device. You don’t need to explicitly ask to unlock the device. In addition, Siri always prompts the user to confirm the payment before asking your Intents extension to handle the transaction.