system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
I need transaction record details in CSV structure.
assistant
Approach:
1. Task: Create transaction record in CSV
2. Complexity: simple - 3-5 fields, minimal nesting
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
68ad3539-0f4f-4400-8ead-e6ccb788e81a,"[{""sku"": ""SKU-40673"", ""qty"": 2, ""price"": 118.65}]",,1240.51,,,1523.63,TXN-60093415
bba4b3ca-d1ff-4fd4-8f35-bfc2b88a7cc5,"[{""sku"": ""SKU-65197"", ""qty"": 3, ""price"": 376.68}, {""sku"": ""SKU-22958"", ""qty"": 5, ""price"": 105.99}, {",credit_card,1846.1,173.75,2026-01-06T09:43:30.242763,875.48,TXN-64620166
a7c45f8d-6f03-4e4f-b908-46bc430ea9be,"[{""sku"": ""SKU-84746"", ""qty"": 5, ""price"": 337.3}, {""sku"": ""SKU-97737"", ""qty"": 4, ""price"": 485.45}, {""",apple_pay,940.84,82.36,2026-01-06T09:43:30.242883,1044.28,TXN-59692394
