---
title: "resolveCurrencyAmount(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insendpaymentintenthandling/resolvecurrencyamount(for:with:)-75c7o"
---

# resolveCurrencyAmount(for:with:)

Resolves the amount of currency to transfer.

## Declaration

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

```swift
optional func resolveCurrencyAmount(for intent: INSendPaymentIntent) async -> INSendPaymentCurrencyAmountResolutionResult
```

## 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 verify that you can transfer money in the intended currency. If the amount is outside of the minimum or maximum transaction amount supported by your app, return a successful result and use your response object to communicate that the amount is below the minimum or above the maximum amount. Do not use this method to validate that the user’s account contains the specified amount. If you identify a currency amount but there is a problem in sending the funds, use the unsupported(forReason:) method to create a INSendPaymentCurrencyAmountResolutionResult object that indicates the reason you couldn’t send the amount.

## See Also

### Resolving the Intent Parameters

- [resolvePayee(for:with:)](intents/insendpaymentintenthandling/resolvepayee(for:with:)-3otmy.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)
