---
title: INRequestPaymentIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/inrequestpaymentintentresponse
---

# INRequestPaymentIntentResponse

Your app’s response to a request payment intent.

## Declaration

```swift
class INRequestPaymentIntentResponse
```

## Overview

Overview Use an INRequestPaymentIntentResponse object to specify the details of a payment request that you make. 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 INRequestPaymentIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INRequestPaymentIntentHandling.

## Topics

### Initializing the Response Object

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

### Getting the Response Code

- [code](intents/inrequestpaymentintentresponse/code.md)
- [INRequestPaymentIntentResponseCode](intents/inrequestpaymentintentresponsecode.md)

### Accessing the Response Data

- [paymentRecord](intents/inrequestpaymentintentresponse/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

### Request a Payment

- [INRequestPaymentIntentHandling](intents/inrequestpaymentintenthandling.md)
- [INRequestPaymentIntent](intents/inrequestpaymentintent.md)
