system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Create a CSV representation of transaction record.
assistant
Approach:
1. Task: Create transaction record in CSV
2. Complexity: medium - 5-8 fields, 2-3 levels
3. Format rules: header row, comma-separated, quoted fields with commas
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
customer_id,items,payment_method,subtotal,tax,timestamp,total,txn_id
a2e7ec78-185c-4070-bf03-47bec515c226,"[{""sku"": ""SKU-84721"", ""qty"": 3, ""price"": 247.68}, {""sku"": ""SKU-13319"", ""qty"": 2, ""price"": 77.91}, {""",apple_pay,903.74,26.77,2026-01-06T09:43:31.891069,481.79,TXN-30576570
1496b613-af42-4581-8978-75dd0940ff90,"[{""sku"": ""SKU-56644"", ""qty"": 1, ""price"": 401.04}, {""sku"": ""SKU-38800"", ""qty"": 4, ""price"": 201.75}]",credit_card,459.26,14.28,2026-01-06T09:43:31.895114,738.95,TXN-20067564
e40436c5-aafc-4768-a753-5276fc2767d3,"[{""sku"": ""SKU-38402"", ""qty"": 3, ""price"": 496.91}, {""sku"": ""SKU-64715"", ""qty"": 3, ""price"": 106.18}]",apple_pay,393.8,76.66,2026-01-06T09:43:31.895209,1970.34,TXN-91689238
