---
title: "resolveCurrencyAmount(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inrequestpaymentintenthandling/resolvecurrencyamount(for:with:)-1it85"
---

# resolveCurrencyAmount(for:with:)

Resolves the amount of money requested.

## Declaration

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

```swift
optional func resolveCurrencyAmount(for intent: INRequestPaymentIntent) async -> INRequestPaymentCurrencyAmountResolutionResult
```

## 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 the requested currency amount. 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 payer’s account contains the necessary funds to complete the transaction. If you identify a currency amount but there is a problem in requesting the funds, use the unsupported(forReason:) method to create a INRequestPaymentCurrencyAmountResolutionResult object indicating the reason why you can’t request the amount.

## See Also

### Resolving the Intent Parameters

- [resolvePayer(for:with:)](intents/inrequestpaymentintenthandling/resolvepayer(for:with:)-4xu87.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)
