---
title: "resolvePayee(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insendpaymentintenthandling/resolvepayee(for:with:)-3otmy"
---

# resolvePayee(for:with:)

Resolves the recipient for a payment.

## Declaration

```swift
optional func resolvePayee(for intent: INSendPaymentIntent, with completion: @escaping @Sendable (INSendPaymentPayeeResolutionResult) -> Void)
```

```swift
optional func resolvePayee(for intent: INSendPaymentIntent) async -> INSendPaymentPayeeResolutionResult
```

## Parameters

- `intent`: The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to determine whether you can send funds to the designated recipient. Use the provided payee information in the intent object to locate the corresponding user in your app. Always strive toward a successful resolution to a specific user, but always ask for confirmation of the selected user if there is some uncertainty. If multiple users match the provided payee information, you might ask for disambiguation of the most likely candidates. When disambiguating users, provide as few choices as possible. If you find more than five possible users, consider a different resolution. If you identify a user but there is a problem in sending funds to that user, use the unsupported(forReason:) method to create a INSendPaymentPayeeResolutionResult object that indicates you can’t the payee.

## See Also

### Resolving the Intent Parameters

- [resolveCurrencyAmount(for:with:)](intents/insendpaymentintenthandling/resolvecurrencyamount(for:with:)-75c7o.md)
- [resolveNote(for:with:)](intents/insendpaymentintenthandling/resolvenote(for:with:).md)
- [resolvePayee(for:with:)](intents/insendpaymentintenthandling/resolvepayee(for:with:)-1kh1g.md)
- [resolveCurrencyAmount(for:with:)](intents/insendpaymentintenthandling/resolvecurrencyamount(for:with:)-9vd94.md)
