<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/PaymentMethodBinding/PaymentMethodBindingError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit20PaymentMethodBindingV0cdE5ErrorO"
  },
  "title" : "PaymentMethodBinding.PaymentMethodBindingError"
}
-->

# PaymentMethodBinding.PaymentMethodBindingError

Error information for payment method binding.

```
enum PaymentMethodBindingError
```

## Overview

The methods of [`PaymentMethodBinding`](/documentation/StoreKit/PaymentMethodBinding) may return these errors, as well as the [`StoreKitError.userCancelled`](/documentation/StoreKit/StoreKitError/userCancelled) error.

## Topics

### Getting error codes

[`case failed`](/documentation/StoreKit/PaymentMethodBinding/PaymentMethodBindingError/failed)

The initialization or binding operation failed.

[`case invalidPinningID`](/documentation/StoreKit/PaymentMethodBinding/PaymentMethodBindingError/invalidPinningID)

The in-app binding identifier is invalid or expired.

[`case notEligible`](/documentation/StoreKit/PaymentMethodBinding/PaymentMethodBindingError/notEligible)

The user isn’t eligible.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`LocalizedError`](/documentation/Foundation/LocalizedError)

[`Error`](/documentation/Swift/Error)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)