Start Transaction — iPhone
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | Decimal | Yes | Transaction amount |
currency | String | Yes | ISO 4217, e.g. "USD" |
type | TransactionType | Yes | .sale, .auth, .refund |
orderID | String | Recommended | Your unique order ID |
description | String | No | For receipt |
tip | Decimal | No | Tip amount (added to total) |
taxAmount | Decimal | No | Tax for reporting |
let request = CyoGateTransactionRequest(
amount: 25.00, currency: "USD", type: .sale,
orderID: "TABLE-12", description: "Restaurant Order", tip: 5.00
)
transactionManager.startTransaction(request: request) { result in /* handle */ }
See the Tap to Pay on iPhone overview for full context and the complete topic list.