---
title: "confirmationRequired(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inpaymentstatusresolutionresult/confirmationrequired(with:)"
---

# confirmationRequired(with:)

Creates an object whose resolution requires that the user confirm the value before proceeding.

## Declaration

```swift
class func confirmationRequired(with paymentStatusToConfirm: INPaymentStatus) -> Self
```

## Parameters

- `paymentStatusToConfirm`: The value that resolves the request but that must be confirmed by the user.

## Return Value

Return Value A new INPaymentStatusResolutionResult object.

## Discussion

Discussion Use this method when you can resolve the parameter to a single value but want the user to confirm that value. For example, you might use this method if you cannot search based on the requested payment status but can search based on another value.

## See Also

### Creating a Resolution Result Object

- [success(with:)](intents/inpaymentstatusresolutionresult/success(with:).md)
