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
a2b1f805-e4ed-4cf7-8d38-3073f5d82c07,"[{""sku"": ""SKU-89356"", ""qty"": 4, ""price"": 489.43}]",paypal,398.66,154.77,2026-01-06T09:43:31.512204,2022.54,TXN-98803941
bffcafda-9219-492c-9a3c-9ab0452335ee,"[{""sku"": ""SKU-39222"", ""qty"": 5, ""price"": 391.86}, {""sku"": ""SKU-15818"", ""qty"": 2, ""price"": 12.96}, {""",credit_card,73.66,9.93,2026-01-06T09:43:31.517675,2055.67,TXN-78220681
3eb7b3c6-3c88-4e5f-8971-1fc529ae69c8,"[{""sku"": ""SKU-66987"", ""qty"": 4, ""price"": 83.83}, {""sku"": ""SKU-33439"", ""qty"": 4, ""price"": 246.25}, {""",apple_pay,1501.29,111.35,2026-01-06T09:43:31.517781,485.21,TXN-92842502
