Create a session and start Headless Universal Checkout with its clientToken and your custom settings. Once the session is configured on the SDK the completion handler will be called.

SWIFT
func start(
    withClientToken clientToken: String,
    settings: PrimerSettings? = nil,
    delegate: PrimerHeadlessUniversalCheckoutDelegate? = nil,
    uiDelegate: PrimerHeadlessUniversalCheckoutUIDelegate? = nil,
    completion: @escaping (_ paymentMethods: [PrimerHeadlessUniversalCheckout.PaymentMethod]?, _ err: Error?) -> Void
)

Parameters