<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INPaymentAmountResolutionResult/success(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INPaymentAmountResolutionResult(cm)successWithResolvedPaymentAmount:"
  },
  "title" : "success(with:)"
}
-->

# success(with:)

Creates an object whose resolution involves the successful matching of the specified value.

```
class func success(with resolvedPaymentAmount: INPaymentAmount) -> Self
```

## Parameters

`resolvedPaymentAmount`

The value that resolves the requested value of the intent. This value may be different than the one specified in the intent object.

## Return Value

A new [`INPaymentAmountResolutionResult`](/documentation/Intents/INPaymentAmountResolutionResult) object.

## Discussion

Use this method to create a result object when you are able to resolve the payment amount for a bill. For payment amounts representing the account’s current balance, amount due, or minimum amount due, a successful resolution signifies that you know the amount of money to transfer from the user’s account to the bill payee.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)