Instance Method


Called when you need to resolve the amount of money being requested.


optional func resolveCurrencyAmount(for intent: INRequestPaymentIntent, with completion: @escaping (INCurrencyAmountResolutionResult) -> Void)



The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.


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:


The resolution result object containing your proposed resolution. For successful resolutions, create a resolution object whose value is the INCurrencyAmount object containing the requested amount. This parameter must not be nil.


Use this method to verify that the request can be made 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 payer’s account contains the necessary funds to complete the transaction.

See Also