Contents

PaymentMethodBinding

A binding that makes payment methods available in apps for an Apple Account.

Declaration

struct PaymentMethodBinding

Overview

This functionality is available only to eligible apps with server entitlements. The initializer init(id:) throws an error if your app doesn’t have the appropriate entitlement to use this API, or if the user isn’t eligible.

Initialize this structure using the in-app binding identifier that your server receives from the Apple server when your server initiates payment method binding. Call the bind() method to prompt users to confirm adding the payment method and making it their primary payment method.

Topics

Determining eligiblity

Creating and identifying bindings

Binding payment methods

Reading errors