{"x402Version":2,"resources":[{"url":"https://orderdata-studio.worker.beacon.host/v1/weekly-report","type":"http","method":"POST","description":"Convert de-identified order CSV to a weekly sales summary with order counts, gross sales, refunds and net in TWD cents, including totals by channel.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xf9b47302b9fb05a655b5388bb3015ac48370b985","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"inputSchema":{"type":"object","additionalProperties":false,"required":["csv","week_start","columns"],"properties":{"csv":{"type":"string","description":"Comma-separated source data with a header and up to 250 order rows."},"week_start":{"type":"string","format":"date"},"columns":{"type":"array","minItems":5,"maxItems":5,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":128},"description":"Headers for date, order identifier, channel, amount and refund, in that order."}}},"outputSchema":{"type":"object","additionalProperties":false,"required":["currency","week_start","week_end","source_rows","totals","channels"],"properties":{"currency":{"const":"TWD"},"week_start":{"type":"string","format":"date"},"week_end":{"type":"string","format":"date"},"source_rows":{"type":"integer","minimum":0,"maximum":250},"totals":{"type":"object","additionalProperties":false,"properties":{"order_count":{"type":"integer","minimum":0},"gross_cents":{"type":"integer","minimum":0},"refund_cents":{"type":"integer","minimum":0},"net_cents":{"type":"integer","minimum":0}},"required":["order_count","gross_cents","refund_cents","net_cents"]},"channels":{"type":"array","maxItems":2,"items":{"type":"object","additionalProperties":false,"properties":{"channel_index":{"type":"integer","minimum":1,"maximum":2,"description":"Channel order by first appearance in the CSV."},"order_count":{"type":"integer","minimum":0},"gross_cents":{"type":"integer","minimum":0},"refund_cents":{"type":"integer","minimum":0},"net_cents":{"type":"integer","minimum":0}},"required":["channel_index","order_count","gross_cents","refund_cents","net_cents"]}}}}},{"url":"https://orderdata-studio.worker.beacon.host/v1/excel-template","type":"http","method":"GET","description":"Download a reusable Excel sales-week template with sample data, order counts, gross, refunds and net.","mimeType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xf9b47302b9fb05a655b5388bb3015ac48370b985","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"50000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}]},{"url":"https://orderdata-studio.worker.beacon.host/v1/csv-preflight","type":"http","method":"POST","name":"CSV Import Preflight","description":"Validate your CSV before import. Check required, duplicate and blank headers, inconsistent row widths, invalid quoting and spreadsheet-formula starters. Returns issue locations without returning cell text.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xf9b47302b9fb05a655b5388bb3015ac48370b985","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"inputSchema":{"type":"object","additionalProperties":false,"required":["csv"],"properties":{"csv":{"type":"string","description":"UTF-8 CSV with a header record. Use de-identified data. The entire JSON request is limited to 64 KiB."},"delimiter":{"type":"string","enum":[",",";","\t","|"],"default":","},"required_headers":{"type":["array","null"],"maxItems":256,"items":{"type":"string","maxLength":256}}}},"outputSchema":{"type":"object","required":["status","counts","issues","issues_truncated"],"properties":{"status":{"enum":["ok","warning","invalid"]},"counts":{"type":"object","required":["header_columns","data_rows","blank_rows","errors","warnings"],"additionalProperties":{"type":"integer","minimum":0}},"issues":{"type":"array","items":{"type":"object","required":["severity","code"],"properties":{"severity":{"enum":["error","warning"]},"code":{"type":"string"},"row":{"type":"integer","minimum":1},"column":{"type":"integer","minimum":1}}}},"issues_truncated":{"type":"boolean"}}},"example":"https://orderdata-studio.worker.beacon.host/examples/csv-preflight"},{"url":"https://orderdata-studio.worker.beacon.host/v1/csv-batch-preflight","type":"http","method":"POST","name":"Batch CSV Import Preflight with Cross-File Duplicate Keys","description":"Check two to five CSV exports before importing them together. Validate shared headers and data shape, then locate duplicate composite keys across files. Returns file and physical line numbers without returning cell text.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xf9b47302b9fb05a655b5388bb3015ac48370b985","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"inputSchema":{"type":"object","additionalProperties":false,"required":["files","unique_by"],"properties":{"files":{"type":"array","minItems":2,"maxItems":5,"items":{"type":"string"},"description":"Two to five de-identified UTF-8 CSV strings. The full JSON is limited to 64 KiB."},"unique_by":{"type":"array","minItems":1,"maxItems":8,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":256},"description":"Composite key header names. Values are compared as text, preserving leading zeros."},"delimiter":{"type":"string","enum":[",",";","\t","|"],"default":","},"required_headers":{"type":["array","null"],"maxItems":256,"items":{"type":"string","maxLength":256}}}},"outputSchema":{"type":"object","required":["ready","files","collisions","collision_count","collisions_truncated"],"properties":{"ready":{"type":"boolean"},"files":{"type":"array","items":{"type":"object","required":["file","keys_checked","status","counts","issues","issues_truncated"],"properties":{"status":{"enum":["ok","warning","invalid"]},"counts":{"type":"object","required":["header_columns","data_rows","blank_rows","errors","warnings"],"additionalProperties":{"type":"integer","minimum":0}},"issues":{"type":"array","items":{"type":"object","required":["severity","code"],"properties":{"severity":{"enum":["error","warning"]},"code":{"type":"string"},"row":{"type":"integer","minimum":1},"column":{"type":"integer","minimum":1}}}},"issues_truncated":{"type":"boolean"},"file":{"type":"integer","minimum":1},"keys_checked":{"type":"boolean"}}}},"collisions":{"type":"array","items":{"type":"object","required":["file","line","first_file","first_line"],"properties":{"file":{"type":"integer","minimum":1},"line":{"type":"integer","minimum":1},"first_file":{"type":"integer","minimum":1},"first_line":{"type":"integer","minimum":1}}}},"collision_count":{"type":"integer","minimum":0},"collisions_truncated":{"type":"boolean"}}},"example":"https://orderdata-studio.worker.beacon.host/examples/csv-batch-preflight"},{"type":"http","method":"GET","url":"https://orderdata-studio.worker.beacon.host/v1/shopify-weekly-report","name":"Shopify Weekly Report Kit","description":"Download the offline Shopify Orders CSV tool, instructions, a synthetic export and its expected report. Includes a commercial-use license. Tools run in your browser without uploading orders.","mimeType":"application/zip","guide":"https://orderdata-studio.worker.beacon.host/guides/shopify-orders-csv-weekly-report","sha256":"6b3861cdf1f72b41adf52993409b86d29acf9b4824a0f88f518823ee503f753b","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xf9b47302b9fb05a655b5388bb3015ac48370b985","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}]}]}