Swedbank Pay SDK for iOS
The Swedbank Pay iOS SDK facilitates the implementation of the Swedbank Pay API Platform in an iOS application.
The SDK has two components,
SwedbankPaySDKMerchantBackend. The first one is the core SDK, and
the second one contains utilities for interfacing with a server implementing
the Merchant Backend API.
If you are not using the Merchant Backend API for backend communication,
you only need to use the
SwedbankPaySDK component. Otherwise, you
should add both components to your project.
Swift Package Manager
The SDK is available through the Swift Package Manager. This is the simplest way of adding the SDK to an Xcode project.
Follow the instructions here to add a SwiftPM dependency.
as the repository URL. Select either only the
SwedbankPaySDK library or both
libraries depending on your use-case.
The SDK is also available through CocoaPods. There are separate
pods for the two components, named
Add the relevant dependencies in your
pod 'SwedbankPaySDK', '~> 2.1'
pod 'SwedbankPaySDKMerchantBackend', '~> 2.1'
Please refer to the Developer Portal for usage instructions.
To explore a working app using the SDK, see the Example Project.
Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct and sign the contributor's license agreement.