Configuration — iPhone
| Property | Type | Description |
|---|---|---|
apiKey | String | Your Public API Key (required) |
environment | Environment | .production or .sandbox |
operatingMode | OperatingMode | Online or store-and-forward |
currencyCode | String | ISO 4217, default "USD" |
logLevel | LogLevel | verbose, debug, error, none |
timeout | TimeInterval | Network timeout seconds, default 30 |
let config = CyoGateConfiguration(
apiKey: "YOUR_PUBLIC_KEY", environment: .production,
currencyCode: "USD", logLevel: .error, timeout: 30.0
)
See the Tap to Pay on iPhone overview for full context and the complete topic list.