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

# resolveTransactionAmount(for:with:)

Resolves the amount that the user wants to transfer.

## Declaration

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

```swift
optional func resolveTransactionAmount(for intent: INTransferMoneyIntent) async -> INPaymentAmountResolutionResult
```

## 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 amount of money the user wants to transfer. The transactionAmount property of the intent contains information about how much the user wants to transfer. Return a successful resolution if you’re able to transfer the specified amount. If the amount exceeds the maximum or minimum amount allowed by your app, return an adjusted amount and ask for confirmation.

## See Also

### Resolving the Intent Parameters

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