-
Create a configuration for the Payment form
Declaration
Swift
public init(apiKey: String, environment: Environment, supportedSchemes: [CardScheme], billingFormData: BillingForm?)
Parameters
apiKey
API Key provided by Checkout enabling you access to our services
environment
Enum describing the environment the SDK is running in
supportedSchemes
Card schemes supported for receiving payments. Accurate declaration of supported schemes will improve customer experience
billingFormData
Pre filled Billing form information to be included and help reduce user input if known