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.

Note: Make yourself familiar with ourAPI Principlesto ensure a resilient integration.

How does it work?

We are securing your customer's payment details by creating a session. You can thencreate a tokenwith the card details and optionally use the CVC to take a payment.

What is a session?

A session is a unique identifier for your customer's card details, generated by the SDK.

Get our SDK

To get our iOS SDK we recommend that you useCocoapods.

Once you've installed and configured your project to use Cocoapods, add the following line to your projects Podfile to add our SDK.

Copied!
pod 'AccessCheckoutSDK'

Here is a link to our Access Checkout iOS SDK on Cocoapods:

and here's a link to our Access Checkout iOS SDK GitHub Repo:

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.

Copied!
import AccessCheckoutSDK

After importing the Access Checkout module, we recommend you extend your ViewController with UIViewController.

Copied!
class ViewController: UIViewController {
    ...


What to do next

See our guides on how to create sessions you can use to take a payment:

Create a session to pay with a card

  1. Submit card details to create a session
  2. Create averified token
  3. Take a paymentwith this token

Create a session to pay with a card and CVC

  1. Submit card details and CVC to create two separate sessions
  2. Create averified tokenwith your card session
  3. Use your cvc session and verified token in our card/checkout payment instrument to take a payment

Create a session for CVC only and pay with a stored token

  1. Submit the CVC to create a session
  2. Use your cvc session and stored verified token in our card/checkout payment instrument to take a payment