Modes of Operation — iPhone
Online Mode (Default)
Every transaction authorized in real time. Requires active internet during transaction.
Store-and-Forward Mode
let config = CyoGateConfiguration(
apiKey: "YOUR_PUBLIC_KEY",
operatingMode: .storeAndForward(maxOfflineAmount: 50.00, maxOfflineTransactions: 10)
)Store-and-Forward carries financial risk — offline transactions may be declined when forwarded.
Refund Mode
let request = CyoGateTransactionRequest(amount: 29.99, currency: "USD", type: .refund, originalTransactionID: "TXN-123")
See the Tap to Pay on iPhone overview for full context and the complete topic list.