---
title: INSendPaymentIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/insendpaymentintentresponse
---

# INSendPaymentIntentResponse

Your app’s response to a send payment intent.

## Declaration

```swift
class INSendPaymentIntentResponse
```

## Overview

Overview 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.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/insendpaymentintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/insendpaymentintentresponse/code.md)
- [INSendPaymentIntentResponseCode](intents/insendpaymentintentresponsecode.md)

### Accessing the Payment Information

- [paymentRecord](intents/insendpaymentintentresponse/paymentrecord.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Send a Payment

- [INSendPaymentIntentHandling](intents/insendpaymentintenthandling.md)
- [INSendPaymentIntent](intents/insendpaymentintent.md)
