Your app’s response to a send payment intent.


class INSendPaymentIntentResponse : INIntentResponse


Use an INSendPaymentIntentResponse object to specify the details of the financial transaction that you perform. After creating the object, assign the details of the payment transaction to the paymentRecord property, the details of which Siri communicates to the user at appropriate times.

You create an INSendPaymentIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INSendPaymentIntentHandling.


Initializing the Response Object

init(code: INSendPaymentIntentResponseCode, userActivity: NSUserActivity?)

Initializes the response object with the specified code and user activity object.

Getting the Response Code

var code: INSendPaymentIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSendPaymentIntentResponseCode

Constants indicating the state of the response.

Accessing the Payment Information

var paymentRecord: INPaymentRecord?

The details of the payment transaction.


Inherits From

Conforms To

See Also

Send a Payment

protocol INSendPaymentIntentHandling

The handler interface for transferring money from the current user’s account to a different user’s account.

class INSendPaymentIntent

A request to transfer money from the current user’s account to a different user’s account.