---
title: "resolvePayer(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inrequestpaymentintenthandling/resolvepayer(for:with:)-4xu87"
---

# resolvePayer(for:with:)

Resolves the person to receive the payment request.

## Declaration

```swift
optional func resolvePayer(for intent: INRequestPaymentIntent, with completion: @escaping @Sendable (INRequestPaymentPayerResolutionResult) -> Void)
```

```swift
optional func resolvePayer(for intent: INRequestPaymentIntent) async -> INRequestPaymentPayerResolutionResult
```

## 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 identify the intended recipient of the request. Always strive toward a successful resolution to a specific user, but ask for confirmation of the selected user if there is some uncertainty. If multiple users match the provided payer information, you can 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 that match the payer information, consider another resolution. If you identify a user but there is a problem in requesting funds from that user, use the unsupported(forReason:) method to create a INRequestPaymentPayerResolutionResult object that indicates the reason why you couldnt use the payer.

## See Also

### Resolving the Intent Parameters

- [resolveCurrencyAmount(for:with:)](intents/inrequestpaymentintenthandling/resolvecurrencyamount(for:with:)-1it85.md)
- [resolveNote(for:with:)](intents/inrequestpaymentintenthandling/resolvenote(for:with:).md)
- [resolvePayer(for:with:)](intents/inrequestpaymentintenthandling/resolvepayer(for:with:)-qp42.md)
- [resolveCurrencyAmount(for:with:)](intents/inrequestpaymentintenthandling/resolvecurrencyamount(for:with:)-78c2m.md)
