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: 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
4e79c070-6935-456a-b07c-e1f0e18641ae,"[{""sku"": ""SKU-52645"", ""qty"": 3, ""price"": 146.99}, {""sku"": ""SKU-49070"", ""qty"": 4, ""price"": 201.41}, {",credit_card,721.98,169.32,2026-01-06T09:43:30.130542,333.86,TXN-11812117
ca5f24ac-8ccf-4826-b360-8ca84d2b2d3b,"[{""sku"": ""SKU-37777"", ""qty"": 3, ""price"": 187.6}, {""sku"": ""SKU-63563"", ""qty"": 5, ""price"": 314.31}, {""",paypal,200.74,49.88,2026-01-06T09:43:30.132356,672.37,TXN-20566825
bc45d83f-91b7-44d1-86e9-1bd6d0c2cb0f,"[{""sku"": ""SKU-62372"", ""qty"": 1, ""price"": 261.38}, {""sku"": ""SKU-65105"", ""qty"": 4, ""price"": 452.94}]",credit_card,595.34,113.56,2026-01-06T09:43:30.132449,1588.95,TXN-77764060
9eb2e986-f181-4b7b-9137-031ead77feb2,"[{""sku"": ""SKU-81512"", ""qty"": 4, ""price"": 482.69}, {""sku"": ""SKU-48692"", ""qty"": 3, ""price"": 437.05}, {",apple_pay,1899.97,57.3,2026-01-06T09:43:30.132524,1875.2,TXN-53780678
