CheckoutAPIClient

public class CheckoutAPIClient

Checkout API Client used to call the api endpoint of Checkout API available with your public key

  • Create an instance with the specified public key and environment

    Declaration

    Swift

    public init(publicKey: String, environment: Environment = .sandbox)

    Parameters

    publicKey

    Checkout public key

    environment

    Sandbox or Live (default to sandbox)

    Return Value

    The new CheckoutAPIClient instance