---
title: "resolveRequestedBalanceType(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insearchforaccountsintenthandling/resolverequestedbalancetype(for:with:)"
---

# resolveRequestedBalanceType(for:with:)

Resolves the balance type to look for in a search.

## Declaration

```swift
optional func resolveRequestedBalanceType(for intent: INSearchForAccountsIntent, with completion: @escaping @Sendable (INBalanceTypeResolutionResult) -> Void)
```

```swift
optional func resolveRequestedBalanceType(for intent: INSearchForAccountsIntent) async -> INBalanceTypeResolutionResult
```

## 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 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 any questions about the balance type to look for in a search. Use this method to examine the requestedBalanceType property of the intent object. Return a successful resolution if you can retrieve the specified balance information from the user’s account as part of your search. If you do not support the specified balance type, return a different balance type and ask for confirmation.

## See Also

### Resolving the Intent Parameters

- [resolveAccountNickname(for:with:)](intents/insearchforaccountsintenthandling/resolveaccountnickname(for:with:).md)
- [resolveAccountType(for:with:)](intents/insearchforaccountsintenthandling/resolveaccounttype(for:with:).md)
- [resolveOrganizationName(for:with:)](intents/insearchforaccountsintenthandling/resolveorganizationname(for:with:).md)
