iOS SDK
Take payments and still qualify for SAQ-A – the lowest PCI compliance level – with our iOS SDK.
Create your own uniquely styled and branded checkout form by integrating our SDK into your native app.
Read more about the Checkout SDK and the supported payment journeys
Note: Make yourself familiar with our
How does it work?
We are securing your customer's payment details by creating a session. You can then
What is a session
?
A session
is a unique identifier for your customer's card details, generated by the SDK.
Get our SDK
Our iOS SDK is available via
Note: Only our latest iOS SDK versions from 2.4.0 will be available on swift package manager.
Cocoapods
Once you've installed and configured your project to use Cocoapods, add the following line to your projects Podfile
to add our SDK.
pod 'AccessCheckoutSDK'
Here is a link to the homepage of our SDK on Cocoapods:
Swift Package Manager
Support for Swift Package Manager is available in the Access Checkout iOS SDK from version 2.4.0 onwards.
Once you've configured your project to use Swift Package Manager, you can add the iOS SDK as a dependency in either of the two ways:
You will then need to specify the URL of the Access Checkout iOS SDK GitHub repository:
Import
You must import the Access Checkout module to have access to all the classes, methods and functions you need to create your form and generate sessions.
Here is an example of how you would import the Access Checkout module into your swift file.
import AccessCheckoutSDK
import AccessCheckoutSDK
After importing the Access Checkout module, we recommend you extend your ViewController
with UIViewController
.
class ViewController: UIViewController {
...
class ViewController: UIViewController { ...
What to do next
See our guides on how to create sessions you can use to take a payment:
Note: For one-time payments, you would need to
Submit card details to create a session - Create a
verified token Take a payment with this token
Submit card details and CVC to create two separate sessions - Create a
verified token with your cardsession
- Use your cvc
session
and verified token in ourcard/checkout
payment instrument to take a payment using one of the following endpoints:
Submit the CVC to create a session - Use your cvc
session
and stored verified token in ourcard/checkout
payment instrument to take a payment using one of the following endpoints: