---
title: "resolveToAccount(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/intransfermoneyintenthandling/resolvetoaccount(for:with:)"
---

# resolveToAccount(for:with:)

Resolves the user account that’s the destination of the funds.

## Declaration

```swift
optional func resolveToAccount(for intent: INTransferMoneyIntent, with completion: @escaping @Sendable (INPaymentAccountResolutionResult) -> Void)
```

```swift
optional func resolveToAccount(for intent: INTransferMoneyIntent) async -> INPaymentAccountResolutionResult
```

## Parameters

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

## Discussion

Discussion Implement this method to resolve the user account that’s the destination for the funds. Use this method to verify that the specified account exists and is able to receive the transferred funds. The toAccount property of the intent object contains any information provided by the user about which account to use. Return a successful resolution if you’re able to verify the existence of the account. If the user doesn’t have any accounts to facilitate a transfer, return a successful resolution or indicate that the account isn’t required and then use the confirm(intent:completion:) method to report an appropriate error. If the user has multiple accounts that match the provided information, either pick one and ask for confirmation or use the disambiguation(with:) method to create a resolution that prompts the user to select an account.

## See Also

### Resolving the Intent Parameters

- [resolveFromAccount(for:with:)](intents/intransfermoneyintenthandling/resolvefromaccount(for:with:).md)
- [resolveTransactionAmount(for:with:)](intents/intransfermoneyintenthandling/resolvetransactionamount(for:with:).md)
- [resolveTransactionScheduledDate(for:with:)](intents/intransfermoneyintenthandling/resolvetransactionscheduleddate(for:with:).md)
- [resolveTransactionNote(for:with:)](intents/intransfermoneyintenthandling/resolvetransactionnote(for:with:).md)
