Receipts — iPhone
Digital Receipts
let receiptConfig = CyoGateReceiptConfiguration(sendEmail: true, sendSMS: false, promptForEmail: true)
let config = CyoGateConfiguration(apiKey: "YOUR_KEY", receiptConfig: receiptConfig)
Custom In-App Receipt
func showReceipt(_ result: CyoGateTransactionResult) {
// Use result fields: transactionID, authCode, amount, cardBrand, cardLast4, timestamp
}
Required Receipt Fields (Card Network Rules)
- Merchant name and location
- Transaction date and time
- Transaction amount and currency
- Card brand and last 4 digits
- Authorization code
- Transaction ID
- Approved / Declined status
See the Tap to Pay on iPhone overview for full context and the complete topic list.