Configuration options such as environment and logging behavior.
Instance Method
initialize(options:apiKey:)
Initializes the Koard SDK with configuration options and API key.
Declaration
func initialize(options: KoardOptions, apiKey: String)
Parameters
options
-
apiKey
-
The Koard API key used for authenticating requests.
Discussion
This method must be called before using any payment-related functionality. It sets up internal state, logging, and API dependencies required by the SDK.