Skip to main content Link Search Menu Expand Document (external link)

Welcome

Welcome to the Afterpay iOS SDK.

The Afterpay iOS SDK provides conveniences to make your Afterpay integration experience as smooth and straightforward as possible. We’re working on crafting a great framework for developers with easy drop in components to make payments easy for your customers.

This documentation is the main source of documentation for developers implementing Afterpay / Clearpay in their iOS Apps. If this is your first time hearing about Afterpay or Clearpay or to view the developer docs, we recommend starting with the relevant links below.

Website

Developer Documentation

Building

Mint

The Afterpay SDK uses Mint to install and run Swift command line packages. This has been pre-compiled and included in the repository under the Tools/mint directory, meaning it does not need to be installed or managed externally.

Mint will automatically download the packages it manages on demand. To speed up the initial build of the SDK, the packages can be downloaded by running the Scripts/bootstrap script.

Running

Building and running the project is as simple as cloning the repository, opening Afterpay.xcworkspace and building the Afterpay target. The example project can be built and run via the Example target.

Contributing

Contributions are welcome! Please read our contributing guidelines.

License

This project is licensed under the terms of the Apache 2.0 license. See the LICENSE file for more information.