{"repo":"ygwyg/merchant","free":true,"listed":false,"github":"https://github.com/ygwyg/merchant","clone":"git clone https://github.com/ygwyg/merchant.git","description":"The backend for selling things on the internet.","language":"TypeScript","stars":353,"topics":["cloudflare","ecommerce","framework","stripe","typescript"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"merchant The open-source commerce backend for Cloudflare + Stripe. Bring a Stripe key. Start selling. A lightweight, API-first backend for products, inventory, checkout, and orders—designed to run on Cloudflare Workers with Stripe handling payments. Quick Start Deploy to Cloudflare Durable Objects and R2 are auto-provisioned on first deploy — no manual setup required! API Reference All endpoints require Authorization: Bearer header. - pk ... → Public key. Can create carts and checkout. - sk ... → Admin key. Full access to everything. Products (admin) Inventory (admin) Query params: - limit — Max items per page (default 100, max 500) - cursor — Pagination cursor (SKU of last item) - low stock — Filter items with ≤10 available Checkout (public) Checkout options: - collect shipping — Enable shipping address collection - shipping countries — Allowed countries (default: [\"US\"] ) - shipping options — Custom shipping rates (optional, has sensible defaults) Automatic tax calculation is enabled via Stripe Tax. Customers (admin) Customers are automatically created from Stripe checkout sessions (guest checkout by email). Orders (admin) Order statuses: pending → paid → processing → shipped → delivered refunded canceled Images (admin) Setup (admin) Outbound Webhooks (admin) Events: order.created , order.updated , order.shipped , order.refunded , inventory.low Wildcards: order. or for all events Payloads are signed with HMAC-SHA256. Verify with the X-Merchant-Signature header. UCP (Univers","default_branch":null,"files":null,"tree":[],"storefront":"/r/ygwyg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ygwyg/merchant/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}