[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-labs-stripe":3,"mdc-1qtwge-key":35,"related-repo-vercel-labs-stripe":6097,"related-org-vercel-labs-stripe":6205},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"stripe","emulate Stripe API for local development","Emulated Stripe API for local development and testing. Use when the user needs to process payments locally, test checkout flows, create customers, manage products and prices, handle payment intents, work with webhooks, or use the Stripe SDK without hitting real Stripe servers. Triggers include \"Stripe API\", \"emulate Stripe\", \"test payments locally\", \"checkout flow\", \"payment intent\", \"Stripe webhook\", \"Stripe SDK\", \"STRIPE_API_KEY\", or any task requiring a local Stripe API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel-labs","Vercel Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel-labs.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Local Development","local-development","tag",{"name":17,"slug":18,"type":15},"Payments","payments",{"name":20,"slug":21,"type":15},"Testing","testing",{"name":23,"slug":4,"type":15},"Stripe",1511,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Femulate","2026-07-17T06:08:53.49346",null,95,[],{"repoUrl":25,"stars":24,"forks":28,"topics":31,"description":32},[],"Local API emulation for CI and no-network sandboxes","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Femulate\u002Ftree\u002FHEAD\u002Fskills\u002Fstripe","---\nname: stripe\ndescription: Emulated Stripe API for local development and testing. Use when the user needs to process payments locally, test checkout flows, create customers, manage products and prices, handle payment intents, work with webhooks, or use the Stripe SDK without hitting real Stripe servers. Triggers include \"Stripe API\", \"emulate Stripe\", \"test payments locally\", \"checkout flow\", \"payment intent\", \"Stripe webhook\", \"Stripe SDK\", \"STRIPE_API_KEY\", or any task requiring a local Stripe API.\nallowed-tools: Bash(npx emulate:*), Bash(emulate:*), Bash(curl:*)\n---\n\n# Stripe API Emulator\n\nFully stateful Stripe API emulation. Customers, products, prices, checkout sessions, payment intents, charges, and payment methods persist in memory. Webhooks fire on state changes. The hosted checkout UI lets you complete payments in the browser.\n\nNo real payments are processed. Every Stripe SDK call hits the emulator and produces realistic responses.\n\n## Start\n\n```bash\n# Stripe only\nnpx emulate --service stripe\n\n# Default port (when run alone)\n# http:\u002F\u002Flocalhost:4000\n```\n\nOr programmatically:\n\n```typescript\nimport { createEmulator } from 'emulate'\n\nconst stripe = await createEmulator({ service: 'stripe', port: 4000 })\n\u002F\u002F stripe.url === 'http:\u002F\u002Flocalhost:4000'\n```\n\n## Pointing Your App at the Emulator\n\n### Stripe SDK\n\nThe Stripe Node.js SDK does not read an environment variable for the base URL. You must pass it when constructing the client:\n\n```typescript\nimport Stripe from 'stripe'\n\nconst stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {\n  apiVersion: '2024-12-18.acacia',\n  host: 'localhost',\n  port: 4000,\n  protocol: 'http',\n})\n```\n\n### Embedded in Next.js (adapter-next)\n\nWhen using `@emulators\u002Fadapter-next`, the emulator runs inside your Next.js app at `\u002Femulate\u002Fstripe`. The SDK needs to point at `localhost` with a proxy route to forward `\u002Fv1\u002F*` calls to `\u002Femulate\u002Fstripe\u002Fv1\u002F*`:\n\n```typescript\n\u002F\u002F next.config.ts\nimport { withEmulate } from '@emulators\u002Fadapter-next'\n\nexport default withEmulate({\n  env: {\n    STRIPE_SECRET_KEY: 'sk_test_emulated',\n  },\n})\n```\n\n```typescript\n\u002F\u002F lib\u002Fstripe.ts\nimport Stripe from 'stripe'\n\nconst port = process.env.PORT ?? '3000'\n\nexport const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {\n  apiVersion: '2024-12-18.acacia',\n  host: 'localhost',\n  port: parseInt(port, 10),\n  protocol: 'http',\n})\n```\n\n```typescript\n\u002F\u002F app\u002Femulate\u002F[...path]\u002Froute.ts\nimport { createEmulateHandler } from '@emulators\u002Fadapter-next'\nimport * as stripe from '@emulators\u002Fstripe'\n\nexport const { GET, POST, PUT, PATCH, DELETE } = createEmulateHandler({\n  services: {\n    stripe: {\n      emulator: stripe,\n      seed: {\n        products: [\n          { id: 'prod_widget', name: 'Widget', description: 'A useful widget' },\n        ],\n        prices: [\n          { id: 'price_widget', product_name: 'Widget', currency: 'usd', unit_amount: 1000 },\n        ],\n        webhooks: [\n          {\n            url: `http:\u002F\u002Flocalhost:${process.env.PORT ?? '3000'}\u002Fapi\u002Fwebhooks\u002Fstripe`,\n            events: ['*'],\n          },\n        ],\n      },\n    },\n  },\n})\n```\n\n```typescript\n\u002F\u002F app\u002Fv1\u002F[...path]\u002Froute.ts  (proxy for Stripe SDK)\nconst STRIPE_URL = `http:\u002F\u002Flocalhost:${process.env.PORT ?? '3000'}\u002Femulate\u002Fstripe`\n\nasync function handler(req: Request, ctx: { params: Promise\u003C{ path: string[] }> }) {\n  const { path } = await ctx.params\n  const url = new URL(req.url)\n  const target = `${STRIPE_URL}\u002Fv1\u002F${path.join('\u002F')}${url.search}`\n\n  const res = await fetch(target, {\n    method: req.method,\n    headers: req.headers,\n    body: req.body,\n    duplex: 'half',\n  } as any)\n\n  return new Response(res.body, {\n    status: res.status,\n    statusText: res.statusText,\n    headers: res.headers,\n  })\n}\n\nexport { handler as GET, handler as POST, handler as PUT, handler as PATCH, handler as DELETE }\n```\n\n### Direct fetch\n\n```bash\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers \\\n  -H \"Authorization: Bearer sk_test_emulated\"\n```\n\n## Seed Config\n\nSeed data is optional. All entities support an optional `id` field for deterministic IDs that survive server restarts.\n\n```yaml\nstripe:\n  customers:\n    - id: cus_demo\n      email: demo@example.com\n      name: Demo User\n  products:\n    - id: prod_tshirt\n      name: T-Shirt\n      description: A comfortable tee\n  prices:\n    - id: price_tshirt\n      product_name: T-Shirt\n      currency: usd\n      unit_amount: 2500\n  webhooks:\n    - url: http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fwebhooks\u002Fstripe\n      events: ['*']\n      secret: whsec_test\n```\n\nThe `product_name` field in prices links to the product by name. Use `events: ['*']` to receive all webhook events, or specify individual event types.\n\n## API Endpoints\n\n### Customers\n\n```bash\n# Create customer\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers \\\n  -d \"email=user@example.com\" -d \"name=Jane Doe\"\n\n# Retrieve customer\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx\n\n# Update customer\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx \\\n  -d \"name=Updated Name\"\n\n# Delete customer\ncurl -X DELETE http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx\n\n# List customers\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\n```\n\n### Products\n\n```bash\n# Create product\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts \\\n  -d \"name=Widget\" -d \"description=A useful widget\"\n\n# Retrieve product\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts\u002Fprod_xxx\n\n# List products\ncurl \"http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts?active=true\"\n```\n\n### Prices\n\n```bash\n# Create price\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices \\\n  -d \"product=prod_xxx\" -d \"currency=usd\" -d \"unit_amount=1000\"\n\n# Retrieve price\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices\u002Fprice_xxx\n\n# List prices\ncurl \"http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices?active=true\"\n```\n\n### Checkout Sessions\n\n```bash\n# Create checkout session\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions \\\n  -d \"mode=payment\" \\\n  -d \"line_items[0][price]=price_xxx\" \\\n  -d \"line_items[0][quantity]=1\" \\\n  -d \"success_url=http:\u002F\u002Flocalhost:3000\u002Fsuccess?session_id={CHECKOUT_SESSION_ID}\" \\\n  -d \"cancel_url=http:\u002F\u002Flocalhost:3000\u002Fcart\"\n\n# Retrieve session\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\u002Fcs_xxx\n\n# List sessions\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\n\n# Expire a session\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\u002Fcs_xxx\u002Fexpire\n```\n\nThe session's `url` field points to a hosted checkout page at `\u002Fcheckout\u002Fcs_xxx`. Clicking \"Pay\" on that page completes the session, fires the `checkout.session.completed` webhook, and redirects to `success_url`. The `{CHECKOUT_SESSION_ID}` template in `success_url` is replaced with the actual session ID.\n\n### Payment Intents\n\n```bash\n# Create payment intent\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents \\\n  -d \"amount=2000\" -d \"currency=usd\"\n\n# Retrieve\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\n\n# Update\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx \\\n  -d \"amount=3000\"\n\n# Confirm (triggers payment_intent.succeeded + charge.succeeded webhooks)\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\u002Fconfirm\n\n# Cancel\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\u002Fcancel\n\n# List\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\n```\n\n### Charges\n\n```bash\n# Retrieve charge\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcharges\u002Fch_xxx\n\n# List charges\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcharges\n```\n\nCharges are created automatically when a payment intent is confirmed.\n\n### Customer Sessions\n\n```bash\n# Create customer session\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomer_sessions \\\n  -d \"customer=cus_xxx\"\n```\n\n### Payment Methods\n\n```bash\n# List payment methods\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_methods\n```\n\n## Webhooks\n\nThe emulator dispatches webhook events when state changes. Register webhooks via seed config or programmatically.\n\n### Events dispatched\n\n| Event | Trigger |\n|-------|---------|\n| `customer.created` | Customer created |\n| `customer.updated` | Customer updated |\n| `customer.deleted` | Customer deleted |\n| `product.created` | Product created |\n| `price.created` | Price created |\n| `payment_intent.created` | Payment intent created |\n| `payment_intent.succeeded` | Payment intent confirmed |\n| `payment_intent.canceled` | Payment intent canceled |\n| `charge.succeeded` | Payment intent confirmed (charge auto-created) |\n| `checkout.session.completed` | Checkout completed via hosted page |\n| `checkout.session.expired` | Checkout session expired |\n\n### Webhook handler example\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fstripe\u002Froute.ts\nimport { NextResponse } from 'next\u002Fserver'\n\nexport async function POST(request: Request) {\n  const body = await request.json()\n  const event = body.type as string\n  const obj = body.data?.object\n\n  switch (event) {\n    case 'customer.created':\n      console.log('Customer created:', obj.id, obj.email)\n      break\n    case 'checkout.session.completed':\n      console.log('Checkout completed:', obj.id)\n      break\n    case 'payment_intent.succeeded':\n      console.log('Payment succeeded:', obj.id)\n      break\n    case 'charge.succeeded':\n      console.log('Charge succeeded:', obj.id)\n      break\n  }\n\n  return NextResponse.json({ received: true })\n}\n```\n\n## Common Patterns\n\n### Checkout Flow (embedded Next.js)\n\n```typescript\n\u002F\u002F Server action\nconst customer = await stripe.customers.create({\n  email: 'shopper@example.com',\n  name: 'Demo Shopper',\n})\n\nconst session = await stripe.checkout.sessions.create({\n  mode: 'payment',\n  customer: customer.id,\n  line_items: [{ price: 'price_widget', quantity: 2 }],\n  success_url: `${origin}\u002Fsuccess?session_id={CHECKOUT_SESSION_ID}`,\n  cancel_url: `${origin}\u002Fcart`,\n})\n\nredirect(session.url!)\n```\n\n### Retrieve Session on Success Page\n\n```typescript\nconst session = await stripe.checkout.sessions.retrieve(session_id)\nconst customer = await stripe.customers.retrieve(session.customer as string)\n\nconsole.log(session.payment_status) \u002F\u002F 'paid'\nconsole.log(customer.name)          \u002F\u002F 'Demo Shopper'\n```\n\n### Payment Intent Flow (no checkout UI)\n\n```typescript\nconst pi = await stripe.paymentIntents.create({\n  amount: 5000,\n  currency: 'usd',\n  customer: 'cus_xxx',\n})\n\n\u002F\u002F Confirm triggers payment_intent.succeeded + charge.succeeded webhooks\nconst confirmed = await stripe.paymentIntents.confirm(pi.id)\nconsole.log(confirmed.status) \u002F\u002F 'succeeded'\n```\n",{"data":36,"body":38},{"name":4,"description":6,"allowed-tools":37},"Bash(npx emulate:*), Bash(emulate:*), Bash(curl:*)",{"type":39,"children":40},"root",[41,50,56,61,68,146,151,313,319,326,331,556,562,605,753,1055,1750,2575,2581,2629,2635,2648,2965,2986,2992,2998,3224,3230,3368,3374,3529,3535,3779,3830,3836,4094,4100,4154,4159,4165,4224,4230,4257,4263,4268,4274,4488,4494,5169,5175,5181,5631,5637,5837,5843,6091],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"stripe-api-emulator",[47],{"type":48,"value":49},"text","Stripe API Emulator",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54],{"type":48,"value":55},"Fully stateful Stripe API emulation. Customers, products, prices, checkout sessions, payment intents, charges, and payment methods persist in memory. Webhooks fire on state changes. The hosted checkout UI lets you complete payments in the browser.",{"type":42,"tag":51,"props":57,"children":58},{},[59],{"type":48,"value":60},"No real payments are processed. Every Stripe SDK call hits the emulator and produces realistic responses.",{"type":42,"tag":62,"props":63,"children":65},"h2",{"id":64},"start",[66],{"type":48,"value":67},"Start",{"type":42,"tag":69,"props":70,"children":75},"pre",{"className":71,"code":72,"language":73,"meta":74,"style":74},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Stripe only\nnpx emulate --service stripe\n\n# Default port (when run alone)\n# http:\u002F\u002Flocalhost:4000\n","bash","",[76],{"type":42,"tag":77,"props":78,"children":79},"code",{"__ignoreMap":74},[80,92,118,128,137],{"type":42,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86],{"type":42,"tag":81,"props":87,"children":89},{"style":88},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[90],{"type":48,"value":91},"# Stripe only\n",{"type":42,"tag":81,"props":93,"children":95},{"class":83,"line":94},2,[96,102,108,113],{"type":42,"tag":81,"props":97,"children":99},{"style":98},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[100],{"type":48,"value":101},"npx",{"type":42,"tag":81,"props":103,"children":105},{"style":104},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[106],{"type":48,"value":107}," emulate",{"type":42,"tag":81,"props":109,"children":110},{"style":104},[111],{"type":48,"value":112}," --service",{"type":42,"tag":81,"props":114,"children":115},{"style":104},[116],{"type":48,"value":117}," stripe\n",{"type":42,"tag":81,"props":119,"children":121},{"class":83,"line":120},3,[122],{"type":42,"tag":81,"props":123,"children":125},{"emptyLinePlaceholder":124},true,[126],{"type":48,"value":127},"\n",{"type":42,"tag":81,"props":129,"children":131},{"class":83,"line":130},4,[132],{"type":42,"tag":81,"props":133,"children":134},{"style":88},[135],{"type":48,"value":136},"# Default port (when run alone)\n",{"type":42,"tag":81,"props":138,"children":140},{"class":83,"line":139},5,[141],{"type":42,"tag":81,"props":142,"children":143},{"style":88},[144],{"type":48,"value":145},"# http:\u002F\u002Flocalhost:4000\n",{"type":42,"tag":51,"props":147,"children":148},{},[149],{"type":48,"value":150},"Or programmatically:",{"type":42,"tag":69,"props":152,"children":156},{"className":153,"code":154,"language":155,"meta":74,"style":74},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createEmulator } from 'emulate'\n\nconst stripe = await createEmulator({ service: 'stripe', port: 4000 })\n\u002F\u002F stripe.url === 'http:\u002F\u002Flocalhost:4000'\n","typescript",[157],{"type":42,"tag":77,"props":158,"children":159},{"__ignoreMap":74},[160,206,213,305],{"type":42,"tag":81,"props":161,"children":162},{"class":83,"line":84},[163,169,175,181,186,191,196,201],{"type":42,"tag":81,"props":164,"children":166},{"style":165},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[167],{"type":48,"value":168},"import",{"type":42,"tag":81,"props":170,"children":172},{"style":171},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[173],{"type":48,"value":174}," {",{"type":42,"tag":81,"props":176,"children":178},{"style":177},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[179],{"type":48,"value":180}," createEmulator",{"type":42,"tag":81,"props":182,"children":183},{"style":171},[184],{"type":48,"value":185}," }",{"type":42,"tag":81,"props":187,"children":188},{"style":165},[189],{"type":48,"value":190}," from",{"type":42,"tag":81,"props":192,"children":193},{"style":171},[194],{"type":48,"value":195}," '",{"type":42,"tag":81,"props":197,"children":198},{"style":104},[199],{"type":48,"value":200},"emulate",{"type":42,"tag":81,"props":202,"children":203},{"style":171},[204],{"type":48,"value":205},"'\n",{"type":42,"tag":81,"props":207,"children":208},{"class":83,"line":94},[209],{"type":42,"tag":81,"props":210,"children":211},{"emptyLinePlaceholder":124},[212],{"type":48,"value":127},{"type":42,"tag":81,"props":214,"children":215},{"class":83,"line":120},[216,222,227,232,237,242,247,252,258,263,267,271,276,281,286,290,296,300],{"type":42,"tag":81,"props":217,"children":219},{"style":218},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[220],{"type":48,"value":221},"const",{"type":42,"tag":81,"props":223,"children":224},{"style":177},[225],{"type":48,"value":226}," stripe ",{"type":42,"tag":81,"props":228,"children":229},{"style":171},[230],{"type":48,"value":231},"=",{"type":42,"tag":81,"props":233,"children":234},{"style":165},[235],{"type":48,"value":236}," await",{"type":42,"tag":81,"props":238,"children":240},{"style":239},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[241],{"type":48,"value":180},{"type":42,"tag":81,"props":243,"children":244},{"style":177},[245],{"type":48,"value":246},"(",{"type":42,"tag":81,"props":248,"children":249},{"style":171},[250],{"type":48,"value":251},"{",{"type":42,"tag":81,"props":253,"children":255},{"style":254},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[256],{"type":48,"value":257}," service",{"type":42,"tag":81,"props":259,"children":260},{"style":171},[261],{"type":48,"value":262},":",{"type":42,"tag":81,"props":264,"children":265},{"style":171},[266],{"type":48,"value":195},{"type":42,"tag":81,"props":268,"children":269},{"style":104},[270],{"type":48,"value":4},{"type":42,"tag":81,"props":272,"children":273},{"style":171},[274],{"type":48,"value":275},"'",{"type":42,"tag":81,"props":277,"children":278},{"style":171},[279],{"type":48,"value":280},",",{"type":42,"tag":81,"props":282,"children":283},{"style":254},[284],{"type":48,"value":285}," port",{"type":42,"tag":81,"props":287,"children":288},{"style":171},[289],{"type":48,"value":262},{"type":42,"tag":81,"props":291,"children":293},{"style":292},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[294],{"type":48,"value":295}," 4000",{"type":42,"tag":81,"props":297,"children":298},{"style":171},[299],{"type":48,"value":185},{"type":42,"tag":81,"props":301,"children":302},{"style":177},[303],{"type":48,"value":304},")\n",{"type":42,"tag":81,"props":306,"children":307},{"class":83,"line":130},[308],{"type":42,"tag":81,"props":309,"children":310},{"style":88},[311],{"type":48,"value":312},"\u002F\u002F stripe.url === 'http:\u002F\u002Flocalhost:4000'\n",{"type":42,"tag":62,"props":314,"children":316},{"id":315},"pointing-your-app-at-the-emulator",[317],{"type":48,"value":318},"Pointing Your App at the Emulator",{"type":42,"tag":320,"props":321,"children":323},"h3",{"id":322},"stripe-sdk",[324],{"type":48,"value":325},"Stripe SDK",{"type":42,"tag":51,"props":327,"children":328},{},[329],{"type":48,"value":330},"The Stripe Node.js SDK does not read an environment variable for the base URL. You must pass it when constructing the client:",{"type":42,"tag":69,"props":332,"children":334},{"className":153,"code":333,"language":155,"meta":74,"style":74},"import Stripe from 'stripe'\n\nconst stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {\n  apiVersion: '2024-12-18.acacia',\n  host: 'localhost',\n  port: 4000,\n  protocol: 'http',\n})\n",[335],{"type":42,"tag":77,"props":336,"children":337},{"__ignoreMap":74},[338,367,374,433,463,492,513,543],{"type":42,"tag":81,"props":339,"children":340},{"class":83,"line":84},[341,345,350,355,359,363],{"type":42,"tag":81,"props":342,"children":343},{"style":165},[344],{"type":48,"value":168},{"type":42,"tag":81,"props":346,"children":347},{"style":177},[348],{"type":48,"value":349}," Stripe ",{"type":42,"tag":81,"props":351,"children":352},{"style":165},[353],{"type":48,"value":354},"from",{"type":42,"tag":81,"props":356,"children":357},{"style":171},[358],{"type":48,"value":195},{"type":42,"tag":81,"props":360,"children":361},{"style":104},[362],{"type":48,"value":4},{"type":42,"tag":81,"props":364,"children":365},{"style":171},[366],{"type":48,"value":205},{"type":42,"tag":81,"props":368,"children":369},{"class":83,"line":94},[370],{"type":42,"tag":81,"props":371,"children":372},{"emptyLinePlaceholder":124},[373],{"type":48,"value":127},{"type":42,"tag":81,"props":375,"children":376},{"class":83,"line":120},[377,381,385,389,394,399,404,409,414,418,423,428],{"type":42,"tag":81,"props":378,"children":379},{"style":218},[380],{"type":48,"value":221},{"type":42,"tag":81,"props":382,"children":383},{"style":177},[384],{"type":48,"value":226},{"type":42,"tag":81,"props":386,"children":387},{"style":171},[388],{"type":48,"value":231},{"type":42,"tag":81,"props":390,"children":391},{"style":171},[392],{"type":48,"value":393}," new",{"type":42,"tag":81,"props":395,"children":396},{"style":239},[397],{"type":48,"value":398}," Stripe",{"type":42,"tag":81,"props":400,"children":401},{"style":177},[402],{"type":48,"value":403},"(process",{"type":42,"tag":81,"props":405,"children":406},{"style":171},[407],{"type":48,"value":408},".",{"type":42,"tag":81,"props":410,"children":411},{"style":177},[412],{"type":48,"value":413},"env",{"type":42,"tag":81,"props":415,"children":416},{"style":171},[417],{"type":48,"value":408},{"type":42,"tag":81,"props":419,"children":420},{"style":177},[421],{"type":48,"value":422},"STRIPE_SECRET_KEY",{"type":42,"tag":81,"props":424,"children":425},{"style":171},[426],{"type":48,"value":427},"!,",{"type":42,"tag":81,"props":429,"children":430},{"style":171},[431],{"type":48,"value":432}," {\n",{"type":42,"tag":81,"props":434,"children":435},{"class":83,"line":130},[436,441,445,449,454,458],{"type":42,"tag":81,"props":437,"children":438},{"style":254},[439],{"type":48,"value":440},"  apiVersion",{"type":42,"tag":81,"props":442,"children":443},{"style":171},[444],{"type":48,"value":262},{"type":42,"tag":81,"props":446,"children":447},{"style":171},[448],{"type":48,"value":195},{"type":42,"tag":81,"props":450,"children":451},{"style":104},[452],{"type":48,"value":453},"2024-12-18.acacia",{"type":42,"tag":81,"props":455,"children":456},{"style":171},[457],{"type":48,"value":275},{"type":42,"tag":81,"props":459,"children":460},{"style":171},[461],{"type":48,"value":462},",\n",{"type":42,"tag":81,"props":464,"children":465},{"class":83,"line":139},[466,471,475,479,484,488],{"type":42,"tag":81,"props":467,"children":468},{"style":254},[469],{"type":48,"value":470},"  host",{"type":42,"tag":81,"props":472,"children":473},{"style":171},[474],{"type":48,"value":262},{"type":42,"tag":81,"props":476,"children":477},{"style":171},[478],{"type":48,"value":195},{"type":42,"tag":81,"props":480,"children":481},{"style":104},[482],{"type":48,"value":483},"localhost",{"type":42,"tag":81,"props":485,"children":486},{"style":171},[487],{"type":48,"value":275},{"type":42,"tag":81,"props":489,"children":490},{"style":171},[491],{"type":48,"value":462},{"type":42,"tag":81,"props":493,"children":495},{"class":83,"line":494},6,[496,501,505,509],{"type":42,"tag":81,"props":497,"children":498},{"style":254},[499],{"type":48,"value":500},"  port",{"type":42,"tag":81,"props":502,"children":503},{"style":171},[504],{"type":48,"value":262},{"type":42,"tag":81,"props":506,"children":507},{"style":292},[508],{"type":48,"value":295},{"type":42,"tag":81,"props":510,"children":511},{"style":171},[512],{"type":48,"value":462},{"type":42,"tag":81,"props":514,"children":516},{"class":83,"line":515},7,[517,522,526,530,535,539],{"type":42,"tag":81,"props":518,"children":519},{"style":254},[520],{"type":48,"value":521},"  protocol",{"type":42,"tag":81,"props":523,"children":524},{"style":171},[525],{"type":48,"value":262},{"type":42,"tag":81,"props":527,"children":528},{"style":171},[529],{"type":48,"value":195},{"type":42,"tag":81,"props":531,"children":532},{"style":104},[533],{"type":48,"value":534},"http",{"type":42,"tag":81,"props":536,"children":537},{"style":171},[538],{"type":48,"value":275},{"type":42,"tag":81,"props":540,"children":541},{"style":171},[542],{"type":48,"value":462},{"type":42,"tag":81,"props":544,"children":546},{"class":83,"line":545},8,[547,552],{"type":42,"tag":81,"props":548,"children":549},{"style":171},[550],{"type":48,"value":551},"}",{"type":42,"tag":81,"props":553,"children":554},{"style":177},[555],{"type":48,"value":304},{"type":42,"tag":320,"props":557,"children":559},{"id":558},"embedded-in-nextjs-adapter-next",[560],{"type":48,"value":561},"Embedded in Next.js (adapter-next)",{"type":42,"tag":51,"props":563,"children":564},{},[565,567,573,575,581,583,588,590,596,598,604],{"type":48,"value":566},"When using ",{"type":42,"tag":77,"props":568,"children":570},{"className":569},[],[571],{"type":48,"value":572},"@emulators\u002Fadapter-next",{"type":48,"value":574},", the emulator runs inside your Next.js app at ",{"type":42,"tag":77,"props":576,"children":578},{"className":577},[],[579],{"type":48,"value":580},"\u002Femulate\u002Fstripe",{"type":48,"value":582},". The SDK needs to point at ",{"type":42,"tag":77,"props":584,"children":586},{"className":585},[],[587],{"type":48,"value":483},{"type":48,"value":589}," with a proxy route to forward ",{"type":42,"tag":77,"props":591,"children":593},{"className":592},[],[594],{"type":48,"value":595},"\u002Fv1\u002F*",{"type":48,"value":597}," calls to ",{"type":42,"tag":77,"props":599,"children":601},{"className":600},[],[602],{"type":48,"value":603},"\u002Femulate\u002Fstripe\u002Fv1\u002F*",{"type":48,"value":262},{"type":42,"tag":69,"props":606,"children":608},{"className":153,"code":607,"language":155,"meta":74,"style":74},"\u002F\u002F next.config.ts\nimport { withEmulate } from '@emulators\u002Fadapter-next'\n\nexport default withEmulate({\n  env: {\n    STRIPE_SECRET_KEY: 'sk_test_emulated',\n  },\n})\n",[609],{"type":42,"tag":77,"props":610,"children":611},{"__ignoreMap":74},[612,620,656,663,689,705,734,742],{"type":42,"tag":81,"props":613,"children":614},{"class":83,"line":84},[615],{"type":42,"tag":81,"props":616,"children":617},{"style":88},[618],{"type":48,"value":619},"\u002F\u002F next.config.ts\n",{"type":42,"tag":81,"props":621,"children":622},{"class":83,"line":94},[623,627,631,636,640,644,648,652],{"type":42,"tag":81,"props":624,"children":625},{"style":165},[626],{"type":48,"value":168},{"type":42,"tag":81,"props":628,"children":629},{"style":171},[630],{"type":48,"value":174},{"type":42,"tag":81,"props":632,"children":633},{"style":177},[634],{"type":48,"value":635}," withEmulate",{"type":42,"tag":81,"props":637,"children":638},{"style":171},[639],{"type":48,"value":185},{"type":42,"tag":81,"props":641,"children":642},{"style":165},[643],{"type":48,"value":190},{"type":42,"tag":81,"props":645,"children":646},{"style":171},[647],{"type":48,"value":195},{"type":42,"tag":81,"props":649,"children":650},{"style":104},[651],{"type":48,"value":572},{"type":42,"tag":81,"props":653,"children":654},{"style":171},[655],{"type":48,"value":205},{"type":42,"tag":81,"props":657,"children":658},{"class":83,"line":120},[659],{"type":42,"tag":81,"props":660,"children":661},{"emptyLinePlaceholder":124},[662],{"type":48,"value":127},{"type":42,"tag":81,"props":664,"children":665},{"class":83,"line":130},[666,671,676,680,684],{"type":42,"tag":81,"props":667,"children":668},{"style":165},[669],{"type":48,"value":670},"export",{"type":42,"tag":81,"props":672,"children":673},{"style":165},[674],{"type":48,"value":675}," default",{"type":42,"tag":81,"props":677,"children":678},{"style":239},[679],{"type":48,"value":635},{"type":42,"tag":81,"props":681,"children":682},{"style":177},[683],{"type":48,"value":246},{"type":42,"tag":81,"props":685,"children":686},{"style":171},[687],{"type":48,"value":688},"{\n",{"type":42,"tag":81,"props":690,"children":691},{"class":83,"line":139},[692,697,701],{"type":42,"tag":81,"props":693,"children":694},{"style":254},[695],{"type":48,"value":696},"  env",{"type":42,"tag":81,"props":698,"children":699},{"style":171},[700],{"type":48,"value":262},{"type":42,"tag":81,"props":702,"children":703},{"style":171},[704],{"type":48,"value":432},{"type":42,"tag":81,"props":706,"children":707},{"class":83,"line":494},[708,713,717,721,726,730],{"type":42,"tag":81,"props":709,"children":710},{"style":254},[711],{"type":48,"value":712},"    STRIPE_SECRET_KEY",{"type":42,"tag":81,"props":714,"children":715},{"style":171},[716],{"type":48,"value":262},{"type":42,"tag":81,"props":718,"children":719},{"style":171},[720],{"type":48,"value":195},{"type":42,"tag":81,"props":722,"children":723},{"style":104},[724],{"type":48,"value":725},"sk_test_emulated",{"type":42,"tag":81,"props":727,"children":728},{"style":171},[729],{"type":48,"value":275},{"type":42,"tag":81,"props":731,"children":732},{"style":171},[733],{"type":48,"value":462},{"type":42,"tag":81,"props":735,"children":736},{"class":83,"line":515},[737],{"type":42,"tag":81,"props":738,"children":739},{"style":171},[740],{"type":48,"value":741},"  },\n",{"type":42,"tag":81,"props":743,"children":744},{"class":83,"line":545},[745,749],{"type":42,"tag":81,"props":746,"children":747},{"style":171},[748],{"type":48,"value":551},{"type":42,"tag":81,"props":750,"children":751},{"style":177},[752],{"type":48,"value":304},{"type":42,"tag":69,"props":754,"children":756},{"className":153,"code":755,"language":155,"meta":74,"style":74},"\u002F\u002F lib\u002Fstripe.ts\nimport Stripe from 'stripe'\n\nconst port = process.env.PORT ?? '3000'\n\nexport const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {\n  apiVersion: '2024-12-18.acacia',\n  host: 'localhost',\n  port: parseInt(port, 10),\n  protocol: 'http',\n})\n",[757],{"type":42,"tag":77,"props":758,"children":759},{"__ignoreMap":74},[760,768,795,802,858,865,921,948,975,1015,1043],{"type":42,"tag":81,"props":761,"children":762},{"class":83,"line":84},[763],{"type":42,"tag":81,"props":764,"children":765},{"style":88},[766],{"type":48,"value":767},"\u002F\u002F lib\u002Fstripe.ts\n",{"type":42,"tag":81,"props":769,"children":770},{"class":83,"line":94},[771,775,779,783,787,791],{"type":42,"tag":81,"props":772,"children":773},{"style":165},[774],{"type":48,"value":168},{"type":42,"tag":81,"props":776,"children":777},{"style":177},[778],{"type":48,"value":349},{"type":42,"tag":81,"props":780,"children":781},{"style":165},[782],{"type":48,"value":354},{"type":42,"tag":81,"props":784,"children":785},{"style":171},[786],{"type":48,"value":195},{"type":42,"tag":81,"props":788,"children":789},{"style":104},[790],{"type":48,"value":4},{"type":42,"tag":81,"props":792,"children":793},{"style":171},[794],{"type":48,"value":205},{"type":42,"tag":81,"props":796,"children":797},{"class":83,"line":120},[798],{"type":42,"tag":81,"props":799,"children":800},{"emptyLinePlaceholder":124},[801],{"type":48,"value":127},{"type":42,"tag":81,"props":803,"children":804},{"class":83,"line":130},[805,809,814,818,823,827,831,835,840,845,849,854],{"type":42,"tag":81,"props":806,"children":807},{"style":218},[808],{"type":48,"value":221},{"type":42,"tag":81,"props":810,"children":811},{"style":177},[812],{"type":48,"value":813}," port ",{"type":42,"tag":81,"props":815,"children":816},{"style":171},[817],{"type":48,"value":231},{"type":42,"tag":81,"props":819,"children":820},{"style":177},[821],{"type":48,"value":822}," process",{"type":42,"tag":81,"props":824,"children":825},{"style":171},[826],{"type":48,"value":408},{"type":42,"tag":81,"props":828,"children":829},{"style":177},[830],{"type":48,"value":413},{"type":42,"tag":81,"props":832,"children":833},{"style":171},[834],{"type":48,"value":408},{"type":42,"tag":81,"props":836,"children":837},{"style":177},[838],{"type":48,"value":839},"PORT ",{"type":42,"tag":81,"props":841,"children":842},{"style":171},[843],{"type":48,"value":844},"??",{"type":42,"tag":81,"props":846,"children":847},{"style":171},[848],{"type":48,"value":195},{"type":42,"tag":81,"props":850,"children":851},{"style":104},[852],{"type":48,"value":853},"3000",{"type":42,"tag":81,"props":855,"children":856},{"style":171},[857],{"type":48,"value":205},{"type":42,"tag":81,"props":859,"children":860},{"class":83,"line":139},[861],{"type":42,"tag":81,"props":862,"children":863},{"emptyLinePlaceholder":124},[864],{"type":48,"value":127},{"type":42,"tag":81,"props":866,"children":867},{"class":83,"line":494},[868,872,877,881,885,889,893,897,901,905,909,913,917],{"type":42,"tag":81,"props":869,"children":870},{"style":165},[871],{"type":48,"value":670},{"type":42,"tag":81,"props":873,"children":874},{"style":218},[875],{"type":48,"value":876}," const",{"type":42,"tag":81,"props":878,"children":879},{"style":177},[880],{"type":48,"value":226},{"type":42,"tag":81,"props":882,"children":883},{"style":171},[884],{"type":48,"value":231},{"type":42,"tag":81,"props":886,"children":887},{"style":171},[888],{"type":48,"value":393},{"type":42,"tag":81,"props":890,"children":891},{"style":239},[892],{"type":48,"value":398},{"type":42,"tag":81,"props":894,"children":895},{"style":177},[896],{"type":48,"value":403},{"type":42,"tag":81,"props":898,"children":899},{"style":171},[900],{"type":48,"value":408},{"type":42,"tag":81,"props":902,"children":903},{"style":177},[904],{"type":48,"value":413},{"type":42,"tag":81,"props":906,"children":907},{"style":171},[908],{"type":48,"value":408},{"type":42,"tag":81,"props":910,"children":911},{"style":177},[912],{"type":48,"value":422},{"type":42,"tag":81,"props":914,"children":915},{"style":171},[916],{"type":48,"value":427},{"type":42,"tag":81,"props":918,"children":919},{"style":171},[920],{"type":48,"value":432},{"type":42,"tag":81,"props":922,"children":923},{"class":83,"line":515},[924,928,932,936,940,944],{"type":42,"tag":81,"props":925,"children":926},{"style":254},[927],{"type":48,"value":440},{"type":42,"tag":81,"props":929,"children":930},{"style":171},[931],{"type":48,"value":262},{"type":42,"tag":81,"props":933,"children":934},{"style":171},[935],{"type":48,"value":195},{"type":42,"tag":81,"props":937,"children":938},{"style":104},[939],{"type":48,"value":453},{"type":42,"tag":81,"props":941,"children":942},{"style":171},[943],{"type":48,"value":275},{"type":42,"tag":81,"props":945,"children":946},{"style":171},[947],{"type":48,"value":462},{"type":42,"tag":81,"props":949,"children":950},{"class":83,"line":545},[951,955,959,963,967,971],{"type":42,"tag":81,"props":952,"children":953},{"style":254},[954],{"type":48,"value":470},{"type":42,"tag":81,"props":956,"children":957},{"style":171},[958],{"type":48,"value":262},{"type":42,"tag":81,"props":960,"children":961},{"style":171},[962],{"type":48,"value":195},{"type":42,"tag":81,"props":964,"children":965},{"style":104},[966],{"type":48,"value":483},{"type":42,"tag":81,"props":968,"children":969},{"style":171},[970],{"type":48,"value":275},{"type":42,"tag":81,"props":972,"children":973},{"style":171},[974],{"type":48,"value":462},{"type":42,"tag":81,"props":976,"children":978},{"class":83,"line":977},9,[979,983,987,992,997,1001,1006,1011],{"type":42,"tag":81,"props":980,"children":981},{"style":254},[982],{"type":48,"value":500},{"type":42,"tag":81,"props":984,"children":985},{"style":171},[986],{"type":48,"value":262},{"type":42,"tag":81,"props":988,"children":989},{"style":239},[990],{"type":48,"value":991}," parseInt",{"type":42,"tag":81,"props":993,"children":994},{"style":177},[995],{"type":48,"value":996},"(port",{"type":42,"tag":81,"props":998,"children":999},{"style":171},[1000],{"type":48,"value":280},{"type":42,"tag":81,"props":1002,"children":1003},{"style":292},[1004],{"type":48,"value":1005}," 10",{"type":42,"tag":81,"props":1007,"children":1008},{"style":177},[1009],{"type":48,"value":1010},")",{"type":42,"tag":81,"props":1012,"children":1013},{"style":171},[1014],{"type":48,"value":462},{"type":42,"tag":81,"props":1016,"children":1018},{"class":83,"line":1017},10,[1019,1023,1027,1031,1035,1039],{"type":42,"tag":81,"props":1020,"children":1021},{"style":254},[1022],{"type":48,"value":521},{"type":42,"tag":81,"props":1024,"children":1025},{"style":171},[1026],{"type":48,"value":262},{"type":42,"tag":81,"props":1028,"children":1029},{"style":171},[1030],{"type":48,"value":195},{"type":42,"tag":81,"props":1032,"children":1033},{"style":104},[1034],{"type":48,"value":534},{"type":42,"tag":81,"props":1036,"children":1037},{"style":171},[1038],{"type":48,"value":275},{"type":42,"tag":81,"props":1040,"children":1041},{"style":171},[1042],{"type":48,"value":462},{"type":42,"tag":81,"props":1044,"children":1046},{"class":83,"line":1045},11,[1047,1051],{"type":42,"tag":81,"props":1048,"children":1049},{"style":171},[1050],{"type":48,"value":551},{"type":42,"tag":81,"props":1052,"children":1053},{"style":177},[1054],{"type":48,"value":304},{"type":42,"tag":69,"props":1056,"children":1058},{"className":153,"code":1057,"language":155,"meta":74,"style":74},"\u002F\u002F app\u002Femulate\u002F[...path]\u002Froute.ts\nimport { createEmulateHandler } from '@emulators\u002Fadapter-next'\nimport * as stripe from '@emulators\u002Fstripe'\n\nexport const { GET, POST, PUT, PATCH, DELETE } = createEmulateHandler({\n  services: {\n    stripe: {\n      emulator: stripe,\n      seed: {\n        products: [\n          { id: 'prod_widget', name: 'Widget', description: 'A useful widget' },\n        ],\n        prices: [\n          { id: 'price_widget', product_name: 'Widget', currency: 'usd', unit_amount: 1000 },\n        ],\n        webhooks: [\n          {\n            url: `http:\u002F\u002Flocalhost:${process.env.PORT ?? '3000'}\u002Fapi\u002Fwebhooks\u002Fstripe`,\n            events: ['*'],\n          },\n        ],\n      },\n    },\n  },\n})\n",[1059],{"type":42,"tag":77,"props":1060,"children":1061},{"__ignoreMap":74},[1062,1070,1106,1144,1151,1228,1244,1260,1281,1297,1314,1401,1414,1431,1533,1545,1562,1571,1651,1691,1700,1712,1721,1730,1738],{"type":42,"tag":81,"props":1063,"children":1064},{"class":83,"line":84},[1065],{"type":42,"tag":81,"props":1066,"children":1067},{"style":88},[1068],{"type":48,"value":1069},"\u002F\u002F app\u002Femulate\u002F[...path]\u002Froute.ts\n",{"type":42,"tag":81,"props":1071,"children":1072},{"class":83,"line":94},[1073,1077,1081,1086,1090,1094,1098,1102],{"type":42,"tag":81,"props":1074,"children":1075},{"style":165},[1076],{"type":48,"value":168},{"type":42,"tag":81,"props":1078,"children":1079},{"style":171},[1080],{"type":48,"value":174},{"type":42,"tag":81,"props":1082,"children":1083},{"style":177},[1084],{"type":48,"value":1085}," createEmulateHandler",{"type":42,"tag":81,"props":1087,"children":1088},{"style":171},[1089],{"type":48,"value":185},{"type":42,"tag":81,"props":1091,"children":1092},{"style":165},[1093],{"type":48,"value":190},{"type":42,"tag":81,"props":1095,"children":1096},{"style":171},[1097],{"type":48,"value":195},{"type":42,"tag":81,"props":1099,"children":1100},{"style":104},[1101],{"type":48,"value":572},{"type":42,"tag":81,"props":1103,"children":1104},{"style":171},[1105],{"type":48,"value":205},{"type":42,"tag":81,"props":1107,"children":1108},{"class":83,"line":120},[1109,1113,1118,1123,1127,1131,1135,1140],{"type":42,"tag":81,"props":1110,"children":1111},{"style":165},[1112],{"type":48,"value":168},{"type":42,"tag":81,"props":1114,"children":1115},{"style":171},[1116],{"type":48,"value":1117}," *",{"type":42,"tag":81,"props":1119,"children":1120},{"style":165},[1121],{"type":48,"value":1122}," as",{"type":42,"tag":81,"props":1124,"children":1125},{"style":177},[1126],{"type":48,"value":226},{"type":42,"tag":81,"props":1128,"children":1129},{"style":165},[1130],{"type":48,"value":354},{"type":42,"tag":81,"props":1132,"children":1133},{"style":171},[1134],{"type":48,"value":195},{"type":42,"tag":81,"props":1136,"children":1137},{"style":104},[1138],{"type":48,"value":1139},"@emulators\u002Fstripe",{"type":42,"tag":81,"props":1141,"children":1142},{"style":171},[1143],{"type":48,"value":205},{"type":42,"tag":81,"props":1145,"children":1146},{"class":83,"line":130},[1147],{"type":42,"tag":81,"props":1148,"children":1149},{"emptyLinePlaceholder":124},[1150],{"type":48,"value":127},{"type":42,"tag":81,"props":1152,"children":1153},{"class":83,"line":139},[1154,1158,1162,1166,1171,1175,1180,1184,1189,1193,1198,1202,1207,1211,1216,1220,1224],{"type":42,"tag":81,"props":1155,"children":1156},{"style":165},[1157],{"type":48,"value":670},{"type":42,"tag":81,"props":1159,"children":1160},{"style":218},[1161],{"type":48,"value":876},{"type":42,"tag":81,"props":1163,"children":1164},{"style":171},[1165],{"type":48,"value":174},{"type":42,"tag":81,"props":1167,"children":1168},{"style":177},[1169],{"type":48,"value":1170}," GET",{"type":42,"tag":81,"props":1172,"children":1173},{"style":171},[1174],{"type":48,"value":280},{"type":42,"tag":81,"props":1176,"children":1177},{"style":177},[1178],{"type":48,"value":1179}," POST",{"type":42,"tag":81,"props":1181,"children":1182},{"style":171},[1183],{"type":48,"value":280},{"type":42,"tag":81,"props":1185,"children":1186},{"style":177},[1187],{"type":48,"value":1188}," PUT",{"type":42,"tag":81,"props":1190,"children":1191},{"style":171},[1192],{"type":48,"value":280},{"type":42,"tag":81,"props":1194,"children":1195},{"style":177},[1196],{"type":48,"value":1197}," PATCH",{"type":42,"tag":81,"props":1199,"children":1200},{"style":171},[1201],{"type":48,"value":280},{"type":42,"tag":81,"props":1203,"children":1204},{"style":177},[1205],{"type":48,"value":1206}," DELETE ",{"type":42,"tag":81,"props":1208,"children":1209},{"style":171},[1210],{"type":48,"value":551},{"type":42,"tag":81,"props":1212,"children":1213},{"style":171},[1214],{"type":48,"value":1215}," =",{"type":42,"tag":81,"props":1217,"children":1218},{"style":239},[1219],{"type":48,"value":1085},{"type":42,"tag":81,"props":1221,"children":1222},{"style":177},[1223],{"type":48,"value":246},{"type":42,"tag":81,"props":1225,"children":1226},{"style":171},[1227],{"type":48,"value":688},{"type":42,"tag":81,"props":1229,"children":1230},{"class":83,"line":494},[1231,1236,1240],{"type":42,"tag":81,"props":1232,"children":1233},{"style":254},[1234],{"type":48,"value":1235},"  services",{"type":42,"tag":81,"props":1237,"children":1238},{"style":171},[1239],{"type":48,"value":262},{"type":42,"tag":81,"props":1241,"children":1242},{"style":171},[1243],{"type":48,"value":432},{"type":42,"tag":81,"props":1245,"children":1246},{"class":83,"line":515},[1247,1252,1256],{"type":42,"tag":81,"props":1248,"children":1249},{"style":254},[1250],{"type":48,"value":1251},"    stripe",{"type":42,"tag":81,"props":1253,"children":1254},{"style":171},[1255],{"type":48,"value":262},{"type":42,"tag":81,"props":1257,"children":1258},{"style":171},[1259],{"type":48,"value":432},{"type":42,"tag":81,"props":1261,"children":1262},{"class":83,"line":545},[1263,1268,1272,1277],{"type":42,"tag":81,"props":1264,"children":1265},{"style":254},[1266],{"type":48,"value":1267},"      emulator",{"type":42,"tag":81,"props":1269,"children":1270},{"style":171},[1271],{"type":48,"value":262},{"type":42,"tag":81,"props":1273,"children":1274},{"style":177},[1275],{"type":48,"value":1276}," stripe",{"type":42,"tag":81,"props":1278,"children":1279},{"style":171},[1280],{"type":48,"value":462},{"type":42,"tag":81,"props":1282,"children":1283},{"class":83,"line":977},[1284,1289,1293],{"type":42,"tag":81,"props":1285,"children":1286},{"style":254},[1287],{"type":48,"value":1288},"      seed",{"type":42,"tag":81,"props":1290,"children":1291},{"style":171},[1292],{"type":48,"value":262},{"type":42,"tag":81,"props":1294,"children":1295},{"style":171},[1296],{"type":48,"value":432},{"type":42,"tag":81,"props":1298,"children":1299},{"class":83,"line":1017},[1300,1305,1309],{"type":42,"tag":81,"props":1301,"children":1302},{"style":254},[1303],{"type":48,"value":1304},"        products",{"type":42,"tag":81,"props":1306,"children":1307},{"style":171},[1308],{"type":48,"value":262},{"type":42,"tag":81,"props":1310,"children":1311},{"style":177},[1312],{"type":48,"value":1313}," [\n",{"type":42,"tag":81,"props":1315,"children":1316},{"class":83,"line":1045},[1317,1322,1327,1331,1335,1340,1344,1348,1353,1357,1361,1366,1370,1374,1379,1383,1387,1392,1396],{"type":42,"tag":81,"props":1318,"children":1319},{"style":171},[1320],{"type":48,"value":1321},"          {",{"type":42,"tag":81,"props":1323,"children":1324},{"style":254},[1325],{"type":48,"value":1326}," id",{"type":42,"tag":81,"props":1328,"children":1329},{"style":171},[1330],{"type":48,"value":262},{"type":42,"tag":81,"props":1332,"children":1333},{"style":171},[1334],{"type":48,"value":195},{"type":42,"tag":81,"props":1336,"children":1337},{"style":104},[1338],{"type":48,"value":1339},"prod_widget",{"type":42,"tag":81,"props":1341,"children":1342},{"style":171},[1343],{"type":48,"value":275},{"type":42,"tag":81,"props":1345,"children":1346},{"style":171},[1347],{"type":48,"value":280},{"type":42,"tag":81,"props":1349,"children":1350},{"style":254},[1351],{"type":48,"value":1352}," name",{"type":42,"tag":81,"props":1354,"children":1355},{"style":171},[1356],{"type":48,"value":262},{"type":42,"tag":81,"props":1358,"children":1359},{"style":171},[1360],{"type":48,"value":195},{"type":42,"tag":81,"props":1362,"children":1363},{"style":104},[1364],{"type":48,"value":1365},"Widget",{"type":42,"tag":81,"props":1367,"children":1368},{"style":171},[1369],{"type":48,"value":275},{"type":42,"tag":81,"props":1371,"children":1372},{"style":171},[1373],{"type":48,"value":280},{"type":42,"tag":81,"props":1375,"children":1376},{"style":254},[1377],{"type":48,"value":1378}," description",{"type":42,"tag":81,"props":1380,"children":1381},{"style":171},[1382],{"type":48,"value":262},{"type":42,"tag":81,"props":1384,"children":1385},{"style":171},[1386],{"type":48,"value":195},{"type":42,"tag":81,"props":1388,"children":1389},{"style":104},[1390],{"type":48,"value":1391},"A useful widget",{"type":42,"tag":81,"props":1393,"children":1394},{"style":171},[1395],{"type":48,"value":275},{"type":42,"tag":81,"props":1397,"children":1398},{"style":171},[1399],{"type":48,"value":1400}," },\n",{"type":42,"tag":81,"props":1402,"children":1404},{"class":83,"line":1403},12,[1405,1410],{"type":42,"tag":81,"props":1406,"children":1407},{"style":177},[1408],{"type":48,"value":1409},"        ]",{"type":42,"tag":81,"props":1411,"children":1412},{"style":171},[1413],{"type":48,"value":462},{"type":42,"tag":81,"props":1415,"children":1417},{"class":83,"line":1416},13,[1418,1423,1427],{"type":42,"tag":81,"props":1419,"children":1420},{"style":254},[1421],{"type":48,"value":1422},"        prices",{"type":42,"tag":81,"props":1424,"children":1425},{"style":171},[1426],{"type":48,"value":262},{"type":42,"tag":81,"props":1428,"children":1429},{"style":177},[1430],{"type":48,"value":1313},{"type":42,"tag":81,"props":1432,"children":1434},{"class":83,"line":1433},14,[1435,1439,1443,1447,1451,1456,1460,1464,1469,1473,1477,1481,1485,1489,1494,1498,1502,1507,1511,1515,1520,1524,1529],{"type":42,"tag":81,"props":1436,"children":1437},{"style":171},[1438],{"type":48,"value":1321},{"type":42,"tag":81,"props":1440,"children":1441},{"style":254},[1442],{"type":48,"value":1326},{"type":42,"tag":81,"props":1444,"children":1445},{"style":171},[1446],{"type":48,"value":262},{"type":42,"tag":81,"props":1448,"children":1449},{"style":171},[1450],{"type":48,"value":195},{"type":42,"tag":81,"props":1452,"children":1453},{"style":104},[1454],{"type":48,"value":1455},"price_widget",{"type":42,"tag":81,"props":1457,"children":1458},{"style":171},[1459],{"type":48,"value":275},{"type":42,"tag":81,"props":1461,"children":1462},{"style":171},[1463],{"type":48,"value":280},{"type":42,"tag":81,"props":1465,"children":1466},{"style":254},[1467],{"type":48,"value":1468}," product_name",{"type":42,"tag":81,"props":1470,"children":1471},{"style":171},[1472],{"type":48,"value":262},{"type":42,"tag":81,"props":1474,"children":1475},{"style":171},[1476],{"type":48,"value":195},{"type":42,"tag":81,"props":1478,"children":1479},{"style":104},[1480],{"type":48,"value":1365},{"type":42,"tag":81,"props":1482,"children":1483},{"style":171},[1484],{"type":48,"value":275},{"type":42,"tag":81,"props":1486,"children":1487},{"style":171},[1488],{"type":48,"value":280},{"type":42,"tag":81,"props":1490,"children":1491},{"style":254},[1492],{"type":48,"value":1493}," currency",{"type":42,"tag":81,"props":1495,"children":1496},{"style":171},[1497],{"type":48,"value":262},{"type":42,"tag":81,"props":1499,"children":1500},{"style":171},[1501],{"type":48,"value":195},{"type":42,"tag":81,"props":1503,"children":1504},{"style":104},[1505],{"type":48,"value":1506},"usd",{"type":42,"tag":81,"props":1508,"children":1509},{"style":171},[1510],{"type":48,"value":275},{"type":42,"tag":81,"props":1512,"children":1513},{"style":171},[1514],{"type":48,"value":280},{"type":42,"tag":81,"props":1516,"children":1517},{"style":254},[1518],{"type":48,"value":1519}," unit_amount",{"type":42,"tag":81,"props":1521,"children":1522},{"style":171},[1523],{"type":48,"value":262},{"type":42,"tag":81,"props":1525,"children":1526},{"style":292},[1527],{"type":48,"value":1528}," 1000",{"type":42,"tag":81,"props":1530,"children":1531},{"style":171},[1532],{"type":48,"value":1400},{"type":42,"tag":81,"props":1534,"children":1536},{"class":83,"line":1535},15,[1537,1541],{"type":42,"tag":81,"props":1538,"children":1539},{"style":177},[1540],{"type":48,"value":1409},{"type":42,"tag":81,"props":1542,"children":1543},{"style":171},[1544],{"type":48,"value":462},{"type":42,"tag":81,"props":1546,"children":1548},{"class":83,"line":1547},16,[1549,1554,1558],{"type":42,"tag":81,"props":1550,"children":1551},{"style":254},[1552],{"type":48,"value":1553},"        webhooks",{"type":42,"tag":81,"props":1555,"children":1556},{"style":171},[1557],{"type":48,"value":262},{"type":42,"tag":81,"props":1559,"children":1560},{"style":177},[1561],{"type":48,"value":1313},{"type":42,"tag":81,"props":1563,"children":1565},{"class":83,"line":1564},17,[1566],{"type":42,"tag":81,"props":1567,"children":1568},{"style":171},[1569],{"type":48,"value":1570},"          {\n",{"type":42,"tag":81,"props":1572,"children":1574},{"class":83,"line":1573},18,[1575,1580,1584,1589,1594,1599,1604,1608,1612,1616,1620,1624,1628,1632,1637,1642,1647],{"type":42,"tag":81,"props":1576,"children":1577},{"style":254},[1578],{"type":48,"value":1579},"            url",{"type":42,"tag":81,"props":1581,"children":1582},{"style":171},[1583],{"type":48,"value":262},{"type":42,"tag":81,"props":1585,"children":1586},{"style":171},[1587],{"type":48,"value":1588}," `",{"type":42,"tag":81,"props":1590,"children":1591},{"style":104},[1592],{"type":48,"value":1593},"http:\u002F\u002Flocalhost:",{"type":42,"tag":81,"props":1595,"children":1596},{"style":171},[1597],{"type":48,"value":1598},"${",{"type":42,"tag":81,"props":1600,"children":1601},{"style":177},[1602],{"type":48,"value":1603},"process",{"type":42,"tag":81,"props":1605,"children":1606},{"style":171},[1607],{"type":48,"value":408},{"type":42,"tag":81,"props":1609,"children":1610},{"style":177},[1611],{"type":48,"value":413},{"type":42,"tag":81,"props":1613,"children":1614},{"style":171},[1615],{"type":48,"value":408},{"type":42,"tag":81,"props":1617,"children":1618},{"style":177},[1619],{"type":48,"value":839},{"type":42,"tag":81,"props":1621,"children":1622},{"style":171},[1623],{"type":48,"value":844},{"type":42,"tag":81,"props":1625,"children":1626},{"style":171},[1627],{"type":48,"value":195},{"type":42,"tag":81,"props":1629,"children":1630},{"style":104},[1631],{"type":48,"value":853},{"type":42,"tag":81,"props":1633,"children":1634},{"style":171},[1635],{"type":48,"value":1636},"'}",{"type":42,"tag":81,"props":1638,"children":1639},{"style":104},[1640],{"type":48,"value":1641},"\u002Fapi\u002Fwebhooks\u002Fstripe",{"type":42,"tag":81,"props":1643,"children":1644},{"style":171},[1645],{"type":48,"value":1646},"`",{"type":42,"tag":81,"props":1648,"children":1649},{"style":171},[1650],{"type":48,"value":462},{"type":42,"tag":81,"props":1652,"children":1654},{"class":83,"line":1653},19,[1655,1660,1664,1669,1673,1678,1682,1687],{"type":42,"tag":81,"props":1656,"children":1657},{"style":254},[1658],{"type":48,"value":1659},"            events",{"type":42,"tag":81,"props":1661,"children":1662},{"style":171},[1663],{"type":48,"value":262},{"type":42,"tag":81,"props":1665,"children":1666},{"style":177},[1667],{"type":48,"value":1668}," [",{"type":42,"tag":81,"props":1670,"children":1671},{"style":171},[1672],{"type":48,"value":275},{"type":42,"tag":81,"props":1674,"children":1675},{"style":104},[1676],{"type":48,"value":1677},"*",{"type":42,"tag":81,"props":1679,"children":1680},{"style":171},[1681],{"type":48,"value":275},{"type":42,"tag":81,"props":1683,"children":1684},{"style":177},[1685],{"type":48,"value":1686},"]",{"type":42,"tag":81,"props":1688,"children":1689},{"style":171},[1690],{"type":48,"value":462},{"type":42,"tag":81,"props":1692,"children":1694},{"class":83,"line":1693},20,[1695],{"type":42,"tag":81,"props":1696,"children":1697},{"style":171},[1698],{"type":48,"value":1699},"          },\n",{"type":42,"tag":81,"props":1701,"children":1703},{"class":83,"line":1702},21,[1704,1708],{"type":42,"tag":81,"props":1705,"children":1706},{"style":177},[1707],{"type":48,"value":1409},{"type":42,"tag":81,"props":1709,"children":1710},{"style":171},[1711],{"type":48,"value":462},{"type":42,"tag":81,"props":1713,"children":1715},{"class":83,"line":1714},22,[1716],{"type":42,"tag":81,"props":1717,"children":1718},{"style":171},[1719],{"type":48,"value":1720},"      },\n",{"type":42,"tag":81,"props":1722,"children":1724},{"class":83,"line":1723},23,[1725],{"type":42,"tag":81,"props":1726,"children":1727},{"style":171},[1728],{"type":48,"value":1729},"    },\n",{"type":42,"tag":81,"props":1731,"children":1733},{"class":83,"line":1732},24,[1734],{"type":42,"tag":81,"props":1735,"children":1736},{"style":171},[1737],{"type":48,"value":741},{"type":42,"tag":81,"props":1739,"children":1741},{"class":83,"line":1740},25,[1742,1746],{"type":42,"tag":81,"props":1743,"children":1744},{"style":171},[1745],{"type":48,"value":551},{"type":42,"tag":81,"props":1747,"children":1748},{"style":177},[1749],{"type":48,"value":304},{"type":42,"tag":69,"props":1751,"children":1753},{"className":153,"code":1752,"language":155,"meta":74,"style":74},"\u002F\u002F app\u002Fv1\u002F[...path]\u002Froute.ts  (proxy for Stripe SDK)\nconst STRIPE_URL = `http:\u002F\u002Flocalhost:${process.env.PORT ?? '3000'}\u002Femulate\u002Fstripe`\n\nasync function handler(req: Request, ctx: { params: Promise\u003C{ path: string[] }> }) {\n  const { path } = await ctx.params\n  const url = new URL(req.url)\n  const target = `${STRIPE_URL}\u002Fv1\u002F${path.join('\u002F')}${url.search}`\n\n  const res = await fetch(target, {\n    method: req.method,\n    headers: req.headers,\n    body: req.body,\n    duplex: 'half',\n  } as any)\n\n  return new Response(res.body, {\n    status: res.status,\n    statusText: res.statusText,\n    headers: res.headers,\n  })\n}\n\nexport { handler as GET, handler as POST, handler as PUT, handler as PATCH, handler as DELETE }\n",[1754],{"type":42,"tag":77,"props":1755,"children":1756},{"__ignoreMap":74},[1757,1765,1838,1845,1951,1992,2038,2135,2142,2184,2214,2243,2272,2301,2322,2329,2371,2400,2429,2456,2467,2475,2482],{"type":42,"tag":81,"props":1758,"children":1759},{"class":83,"line":84},[1760],{"type":42,"tag":81,"props":1761,"children":1762},{"style":88},[1763],{"type":48,"value":1764},"\u002F\u002F app\u002Fv1\u002F[...path]\u002Froute.ts  (proxy for Stripe SDK)\n",{"type":42,"tag":81,"props":1766,"children":1767},{"class":83,"line":94},[1768,1772,1777,1781,1785,1789,1793,1797,1801,1805,1809,1813,1817,1821,1825,1829,1833],{"type":42,"tag":81,"props":1769,"children":1770},{"style":218},[1771],{"type":48,"value":221},{"type":42,"tag":81,"props":1773,"children":1774},{"style":177},[1775],{"type":48,"value":1776}," STRIPE_URL ",{"type":42,"tag":81,"props":1778,"children":1779},{"style":171},[1780],{"type":48,"value":231},{"type":42,"tag":81,"props":1782,"children":1783},{"style":171},[1784],{"type":48,"value":1588},{"type":42,"tag":81,"props":1786,"children":1787},{"style":104},[1788],{"type":48,"value":1593},{"type":42,"tag":81,"props":1790,"children":1791},{"style":171},[1792],{"type":48,"value":1598},{"type":42,"tag":81,"props":1794,"children":1795},{"style":177},[1796],{"type":48,"value":1603},{"type":42,"tag":81,"props":1798,"children":1799},{"style":171},[1800],{"type":48,"value":408},{"type":42,"tag":81,"props":1802,"children":1803},{"style":177},[1804],{"type":48,"value":413},{"type":42,"tag":81,"props":1806,"children":1807},{"style":171},[1808],{"type":48,"value":408},{"type":42,"tag":81,"props":1810,"children":1811},{"style":177},[1812],{"type":48,"value":839},{"type":42,"tag":81,"props":1814,"children":1815},{"style":171},[1816],{"type":48,"value":844},{"type":42,"tag":81,"props":1818,"children":1819},{"style":171},[1820],{"type":48,"value":195},{"type":42,"tag":81,"props":1822,"children":1823},{"style":104},[1824],{"type":48,"value":853},{"type":42,"tag":81,"props":1826,"children":1827},{"style":171},[1828],{"type":48,"value":1636},{"type":42,"tag":81,"props":1830,"children":1831},{"style":104},[1832],{"type":48,"value":580},{"type":42,"tag":81,"props":1834,"children":1835},{"style":171},[1836],{"type":48,"value":1837},"`\n",{"type":42,"tag":81,"props":1839,"children":1840},{"class":83,"line":120},[1841],{"type":42,"tag":81,"props":1842,"children":1843},{"emptyLinePlaceholder":124},[1844],{"type":48,"value":127},{"type":42,"tag":81,"props":1846,"children":1847},{"class":83,"line":130},[1848,1853,1858,1863,1867,1873,1877,1882,1886,1891,1895,1899,1904,1908,1913,1918,1923,1927,1932,1937,1942,1947],{"type":42,"tag":81,"props":1849,"children":1850},{"style":218},[1851],{"type":48,"value":1852},"async",{"type":42,"tag":81,"props":1854,"children":1855},{"style":218},[1856],{"type":48,"value":1857}," function",{"type":42,"tag":81,"props":1859,"children":1860},{"style":239},[1861],{"type":48,"value":1862}," handler",{"type":42,"tag":81,"props":1864,"children":1865},{"style":171},[1866],{"type":48,"value":246},{"type":42,"tag":81,"props":1868,"children":1870},{"style":1869},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1871],{"type":48,"value":1872},"req",{"type":42,"tag":81,"props":1874,"children":1875},{"style":171},[1876],{"type":48,"value":262},{"type":42,"tag":81,"props":1878,"children":1879},{"style":98},[1880],{"type":48,"value":1881}," Request",{"type":42,"tag":81,"props":1883,"children":1884},{"style":171},[1885],{"type":48,"value":280},{"type":42,"tag":81,"props":1887,"children":1888},{"style":1869},[1889],{"type":48,"value":1890}," ctx",{"type":42,"tag":81,"props":1892,"children":1893},{"style":171},[1894],{"type":48,"value":262},{"type":42,"tag":81,"props":1896,"children":1897},{"style":171},[1898],{"type":48,"value":174},{"type":42,"tag":81,"props":1900,"children":1901},{"style":254},[1902],{"type":48,"value":1903}," params",{"type":42,"tag":81,"props":1905,"children":1906},{"style":171},[1907],{"type":48,"value":262},{"type":42,"tag":81,"props":1909,"children":1910},{"style":98},[1911],{"type":48,"value":1912}," Promise",{"type":42,"tag":81,"props":1914,"children":1915},{"style":171},[1916],{"type":48,"value":1917},"\u003C{",{"type":42,"tag":81,"props":1919,"children":1920},{"style":254},[1921],{"type":48,"value":1922}," path",{"type":42,"tag":81,"props":1924,"children":1925},{"style":171},[1926],{"type":48,"value":262},{"type":42,"tag":81,"props":1928,"children":1929},{"style":98},[1930],{"type":48,"value":1931}," string",{"type":42,"tag":81,"props":1933,"children":1934},{"style":177},[1935],{"type":48,"value":1936},"[] ",{"type":42,"tag":81,"props":1938,"children":1939},{"style":171},[1940],{"type":48,"value":1941},"}>",{"type":42,"tag":81,"props":1943,"children":1944},{"style":171},[1945],{"type":48,"value":1946}," })",{"type":42,"tag":81,"props":1948,"children":1949},{"style":171},[1950],{"type":48,"value":432},{"type":42,"tag":81,"props":1952,"children":1953},{"class":83,"line":139},[1954,1959,1963,1967,1971,1975,1979,1983,1987],{"type":42,"tag":81,"props":1955,"children":1956},{"style":218},[1957],{"type":48,"value":1958},"  const",{"type":42,"tag":81,"props":1960,"children":1961},{"style":171},[1962],{"type":48,"value":174},{"type":42,"tag":81,"props":1964,"children":1965},{"style":177},[1966],{"type":48,"value":1922},{"type":42,"tag":81,"props":1968,"children":1969},{"style":171},[1970],{"type":48,"value":185},{"type":42,"tag":81,"props":1972,"children":1973},{"style":171},[1974],{"type":48,"value":1215},{"type":42,"tag":81,"props":1976,"children":1977},{"style":165},[1978],{"type":48,"value":236},{"type":42,"tag":81,"props":1980,"children":1981},{"style":177},[1982],{"type":48,"value":1890},{"type":42,"tag":81,"props":1984,"children":1985},{"style":171},[1986],{"type":48,"value":408},{"type":42,"tag":81,"props":1988,"children":1989},{"style":177},[1990],{"type":48,"value":1991},"params\n",{"type":42,"tag":81,"props":1993,"children":1994},{"class":83,"line":494},[1995,1999,2004,2008,2012,2017,2021,2025,2029,2034],{"type":42,"tag":81,"props":1996,"children":1997},{"style":218},[1998],{"type":48,"value":1958},{"type":42,"tag":81,"props":2000,"children":2001},{"style":177},[2002],{"type":48,"value":2003}," url",{"type":42,"tag":81,"props":2005,"children":2006},{"style":171},[2007],{"type":48,"value":1215},{"type":42,"tag":81,"props":2009,"children":2010},{"style":171},[2011],{"type":48,"value":393},{"type":42,"tag":81,"props":2013,"children":2014},{"style":239},[2015],{"type":48,"value":2016}," URL",{"type":42,"tag":81,"props":2018,"children":2019},{"style":254},[2020],{"type":48,"value":246},{"type":42,"tag":81,"props":2022,"children":2023},{"style":177},[2024],{"type":48,"value":1872},{"type":42,"tag":81,"props":2026,"children":2027},{"style":171},[2028],{"type":48,"value":408},{"type":42,"tag":81,"props":2030,"children":2031},{"style":177},[2032],{"type":48,"value":2033},"url",{"type":42,"tag":81,"props":2035,"children":2036},{"style":254},[2037],{"type":48,"value":304},{"type":42,"tag":81,"props":2039,"children":2040},{"class":83,"line":515},[2041,2045,2050,2054,2059,2064,2068,2073,2077,2082,2086,2091,2095,2099,2104,2108,2112,2117,2121,2125,2130],{"type":42,"tag":81,"props":2042,"children":2043},{"style":218},[2044],{"type":48,"value":1958},{"type":42,"tag":81,"props":2046,"children":2047},{"style":177},[2048],{"type":48,"value":2049}," target",{"type":42,"tag":81,"props":2051,"children":2052},{"style":171},[2053],{"type":48,"value":1215},{"type":42,"tag":81,"props":2055,"children":2056},{"style":171},[2057],{"type":48,"value":2058}," `${",{"type":42,"tag":81,"props":2060,"children":2061},{"style":177},[2062],{"type":48,"value":2063},"STRIPE_URL",{"type":42,"tag":81,"props":2065,"children":2066},{"style":171},[2067],{"type":48,"value":551},{"type":42,"tag":81,"props":2069,"children":2070},{"style":104},[2071],{"type":48,"value":2072},"\u002Fv1\u002F",{"type":42,"tag":81,"props":2074,"children":2075},{"style":171},[2076],{"type":48,"value":1598},{"type":42,"tag":81,"props":2078,"children":2079},{"style":177},[2080],{"type":48,"value":2081},"path",{"type":42,"tag":81,"props":2083,"children":2084},{"style":171},[2085],{"type":48,"value":408},{"type":42,"tag":81,"props":2087,"children":2088},{"style":239},[2089],{"type":48,"value":2090},"join",{"type":42,"tag":81,"props":2092,"children":2093},{"style":177},[2094],{"type":48,"value":246},{"type":42,"tag":81,"props":2096,"children":2097},{"style":171},[2098],{"type":48,"value":275},{"type":42,"tag":81,"props":2100,"children":2101},{"style":104},[2102],{"type":48,"value":2103},"\u002F",{"type":42,"tag":81,"props":2105,"children":2106},{"style":171},[2107],{"type":48,"value":275},{"type":42,"tag":81,"props":2109,"children":2110},{"style":177},[2111],{"type":48,"value":1010},{"type":42,"tag":81,"props":2113,"children":2114},{"style":171},[2115],{"type":48,"value":2116},"}${",{"type":42,"tag":81,"props":2118,"children":2119},{"style":177},[2120],{"type":48,"value":2033},{"type":42,"tag":81,"props":2122,"children":2123},{"style":171},[2124],{"type":48,"value":408},{"type":42,"tag":81,"props":2126,"children":2127},{"style":177},[2128],{"type":48,"value":2129},"search",{"type":42,"tag":81,"props":2131,"children":2132},{"style":171},[2133],{"type":48,"value":2134},"}`\n",{"type":42,"tag":81,"props":2136,"children":2137},{"class":83,"line":545},[2138],{"type":42,"tag":81,"props":2139,"children":2140},{"emptyLinePlaceholder":124},[2141],{"type":48,"value":127},{"type":42,"tag":81,"props":2143,"children":2144},{"class":83,"line":977},[2145,2149,2154,2158,2162,2167,2171,2176,2180],{"type":42,"tag":81,"props":2146,"children":2147},{"style":218},[2148],{"type":48,"value":1958},{"type":42,"tag":81,"props":2150,"children":2151},{"style":177},[2152],{"type":48,"value":2153}," res",{"type":42,"tag":81,"props":2155,"children":2156},{"style":171},[2157],{"type":48,"value":1215},{"type":42,"tag":81,"props":2159,"children":2160},{"style":165},[2161],{"type":48,"value":236},{"type":42,"tag":81,"props":2163,"children":2164},{"style":239},[2165],{"type":48,"value":2166}," fetch",{"type":42,"tag":81,"props":2168,"children":2169},{"style":254},[2170],{"type":48,"value":246},{"type":42,"tag":81,"props":2172,"children":2173},{"style":177},[2174],{"type":48,"value":2175},"target",{"type":42,"tag":81,"props":2177,"children":2178},{"style":171},[2179],{"type":48,"value":280},{"type":42,"tag":81,"props":2181,"children":2182},{"style":171},[2183],{"type":48,"value":432},{"type":42,"tag":81,"props":2185,"children":2186},{"class":83,"line":1017},[2187,2192,2196,2201,2205,2210],{"type":42,"tag":81,"props":2188,"children":2189},{"style":254},[2190],{"type":48,"value":2191},"    method",{"type":42,"tag":81,"props":2193,"children":2194},{"style":171},[2195],{"type":48,"value":262},{"type":42,"tag":81,"props":2197,"children":2198},{"style":177},[2199],{"type":48,"value":2200}," req",{"type":42,"tag":81,"props":2202,"children":2203},{"style":171},[2204],{"type":48,"value":408},{"type":42,"tag":81,"props":2206,"children":2207},{"style":177},[2208],{"type":48,"value":2209},"method",{"type":42,"tag":81,"props":2211,"children":2212},{"style":171},[2213],{"type":48,"value":462},{"type":42,"tag":81,"props":2215,"children":2216},{"class":83,"line":1045},[2217,2222,2226,2230,2234,2239],{"type":42,"tag":81,"props":2218,"children":2219},{"style":254},[2220],{"type":48,"value":2221},"    headers",{"type":42,"tag":81,"props":2223,"children":2224},{"style":171},[2225],{"type":48,"value":262},{"type":42,"tag":81,"props":2227,"children":2228},{"style":177},[2229],{"type":48,"value":2200},{"type":42,"tag":81,"props":2231,"children":2232},{"style":171},[2233],{"type":48,"value":408},{"type":42,"tag":81,"props":2235,"children":2236},{"style":177},[2237],{"type":48,"value":2238},"headers",{"type":42,"tag":81,"props":2240,"children":2241},{"style":171},[2242],{"type":48,"value":462},{"type":42,"tag":81,"props":2244,"children":2245},{"class":83,"line":1403},[2246,2251,2255,2259,2263,2268],{"type":42,"tag":81,"props":2247,"children":2248},{"style":254},[2249],{"type":48,"value":2250},"    body",{"type":42,"tag":81,"props":2252,"children":2253},{"style":171},[2254],{"type":48,"value":262},{"type":42,"tag":81,"props":2256,"children":2257},{"style":177},[2258],{"type":48,"value":2200},{"type":42,"tag":81,"props":2260,"children":2261},{"style":171},[2262],{"type":48,"value":408},{"type":42,"tag":81,"props":2264,"children":2265},{"style":177},[2266],{"type":48,"value":2267},"body",{"type":42,"tag":81,"props":2269,"children":2270},{"style":171},[2271],{"type":48,"value":462},{"type":42,"tag":81,"props":2273,"children":2274},{"class":83,"line":1416},[2275,2280,2284,2288,2293,2297],{"type":42,"tag":81,"props":2276,"children":2277},{"style":254},[2278],{"type":48,"value":2279},"    duplex",{"type":42,"tag":81,"props":2281,"children":2282},{"style":171},[2283],{"type":48,"value":262},{"type":42,"tag":81,"props":2285,"children":2286},{"style":171},[2287],{"type":48,"value":195},{"type":42,"tag":81,"props":2289,"children":2290},{"style":104},[2291],{"type":48,"value":2292},"half",{"type":42,"tag":81,"props":2294,"children":2295},{"style":171},[2296],{"type":48,"value":275},{"type":42,"tag":81,"props":2298,"children":2299},{"style":171},[2300],{"type":48,"value":462},{"type":42,"tag":81,"props":2302,"children":2303},{"class":83,"line":1433},[2304,2309,2313,2318],{"type":42,"tag":81,"props":2305,"children":2306},{"style":171},[2307],{"type":48,"value":2308},"  }",{"type":42,"tag":81,"props":2310,"children":2311},{"style":165},[2312],{"type":48,"value":1122},{"type":42,"tag":81,"props":2314,"children":2315},{"style":98},[2316],{"type":48,"value":2317}," any",{"type":42,"tag":81,"props":2319,"children":2320},{"style":254},[2321],{"type":48,"value":304},{"type":42,"tag":81,"props":2323,"children":2324},{"class":83,"line":1535},[2325],{"type":42,"tag":81,"props":2326,"children":2327},{"emptyLinePlaceholder":124},[2328],{"type":48,"value":127},{"type":42,"tag":81,"props":2330,"children":2331},{"class":83,"line":1547},[2332,2337,2341,2346,2350,2355,2359,2363,2367],{"type":42,"tag":81,"props":2333,"children":2334},{"style":165},[2335],{"type":48,"value":2336},"  return",{"type":42,"tag":81,"props":2338,"children":2339},{"style":171},[2340],{"type":48,"value":393},{"type":42,"tag":81,"props":2342,"children":2343},{"style":239},[2344],{"type":48,"value":2345}," Response",{"type":42,"tag":81,"props":2347,"children":2348},{"style":254},[2349],{"type":48,"value":246},{"type":42,"tag":81,"props":2351,"children":2352},{"style":177},[2353],{"type":48,"value":2354},"res",{"type":42,"tag":81,"props":2356,"children":2357},{"style":171},[2358],{"type":48,"value":408},{"type":42,"tag":81,"props":2360,"children":2361},{"style":177},[2362],{"type":48,"value":2267},{"type":42,"tag":81,"props":2364,"children":2365},{"style":171},[2366],{"type":48,"value":280},{"type":42,"tag":81,"props":2368,"children":2369},{"style":171},[2370],{"type":48,"value":432},{"type":42,"tag":81,"props":2372,"children":2373},{"class":83,"line":1564},[2374,2379,2383,2387,2391,2396],{"type":42,"tag":81,"props":2375,"children":2376},{"style":254},[2377],{"type":48,"value":2378},"    status",{"type":42,"tag":81,"props":2380,"children":2381},{"style":171},[2382],{"type":48,"value":262},{"type":42,"tag":81,"props":2384,"children":2385},{"style":177},[2386],{"type":48,"value":2153},{"type":42,"tag":81,"props":2388,"children":2389},{"style":171},[2390],{"type":48,"value":408},{"type":42,"tag":81,"props":2392,"children":2393},{"style":177},[2394],{"type":48,"value":2395},"status",{"type":42,"tag":81,"props":2397,"children":2398},{"style":171},[2399],{"type":48,"value":462},{"type":42,"tag":81,"props":2401,"children":2402},{"class":83,"line":1573},[2403,2408,2412,2416,2420,2425],{"type":42,"tag":81,"props":2404,"children":2405},{"style":254},[2406],{"type":48,"value":2407},"    statusText",{"type":42,"tag":81,"props":2409,"children":2410},{"style":171},[2411],{"type":48,"value":262},{"type":42,"tag":81,"props":2413,"children":2414},{"style":177},[2415],{"type":48,"value":2153},{"type":42,"tag":81,"props":2417,"children":2418},{"style":171},[2419],{"type":48,"value":408},{"type":42,"tag":81,"props":2421,"children":2422},{"style":177},[2423],{"type":48,"value":2424},"statusText",{"type":42,"tag":81,"props":2426,"children":2427},{"style":171},[2428],{"type":48,"value":462},{"type":42,"tag":81,"props":2430,"children":2431},{"class":83,"line":1653},[2432,2436,2440,2444,2448,2452],{"type":42,"tag":81,"props":2433,"children":2434},{"style":254},[2435],{"type":48,"value":2221},{"type":42,"tag":81,"props":2437,"children":2438},{"style":171},[2439],{"type":48,"value":262},{"type":42,"tag":81,"props":2441,"children":2442},{"style":177},[2443],{"type":48,"value":2153},{"type":42,"tag":81,"props":2445,"children":2446},{"style":171},[2447],{"type":48,"value":408},{"type":42,"tag":81,"props":2449,"children":2450},{"style":177},[2451],{"type":48,"value":2238},{"type":42,"tag":81,"props":2453,"children":2454},{"style":171},[2455],{"type":48,"value":462},{"type":42,"tag":81,"props":2457,"children":2458},{"class":83,"line":1693},[2459,2463],{"type":42,"tag":81,"props":2460,"children":2461},{"style":171},[2462],{"type":48,"value":2308},{"type":42,"tag":81,"props":2464,"children":2465},{"style":254},[2466],{"type":48,"value":304},{"type":42,"tag":81,"props":2468,"children":2469},{"class":83,"line":1702},[2470],{"type":42,"tag":81,"props":2471,"children":2472},{"style":171},[2473],{"type":48,"value":2474},"}\n",{"type":42,"tag":81,"props":2476,"children":2477},{"class":83,"line":1714},[2478],{"type":42,"tag":81,"props":2479,"children":2480},{"emptyLinePlaceholder":124},[2481],{"type":48,"value":127},{"type":42,"tag":81,"props":2483,"children":2484},{"class":83,"line":1723},[2485,2489,2493,2497,2501,2505,2509,2513,2517,2521,2525,2529,2533,2537,2541,2545,2549,2553,2557,2561,2565,2570],{"type":42,"tag":81,"props":2486,"children":2487},{"style":165},[2488],{"type":48,"value":670},{"type":42,"tag":81,"props":2490,"children":2491},{"style":171},[2492],{"type":48,"value":174},{"type":42,"tag":81,"props":2494,"children":2495},{"style":177},[2496],{"type":48,"value":1862},{"type":42,"tag":81,"props":2498,"children":2499},{"style":165},[2500],{"type":48,"value":1122},{"type":42,"tag":81,"props":2502,"children":2503},{"style":177},[2504],{"type":48,"value":1170},{"type":42,"tag":81,"props":2506,"children":2507},{"style":171},[2508],{"type":48,"value":280},{"type":42,"tag":81,"props":2510,"children":2511},{"style":177},[2512],{"type":48,"value":1862},{"type":42,"tag":81,"props":2514,"children":2515},{"style":165},[2516],{"type":48,"value":1122},{"type":42,"tag":81,"props":2518,"children":2519},{"style":177},[2520],{"type":48,"value":1179},{"type":42,"tag":81,"props":2522,"children":2523},{"style":171},[2524],{"type":48,"value":280},{"type":42,"tag":81,"props":2526,"children":2527},{"style":177},[2528],{"type":48,"value":1862},{"type":42,"tag":81,"props":2530,"children":2531},{"style":165},[2532],{"type":48,"value":1122},{"type":42,"tag":81,"props":2534,"children":2535},{"style":177},[2536],{"type":48,"value":1188},{"type":42,"tag":81,"props":2538,"children":2539},{"style":171},[2540],{"type":48,"value":280},{"type":42,"tag":81,"props":2542,"children":2543},{"style":177},[2544],{"type":48,"value":1862},{"type":42,"tag":81,"props":2546,"children":2547},{"style":165},[2548],{"type":48,"value":1122},{"type":42,"tag":81,"props":2550,"children":2551},{"style":177},[2552],{"type":48,"value":1197},{"type":42,"tag":81,"props":2554,"children":2555},{"style":171},[2556],{"type":48,"value":280},{"type":42,"tag":81,"props":2558,"children":2559},{"style":177},[2560],{"type":48,"value":1862},{"type":42,"tag":81,"props":2562,"children":2563},{"style":165},[2564],{"type":48,"value":1122},{"type":42,"tag":81,"props":2566,"children":2567},{"style":177},[2568],{"type":48,"value":2569}," DELETE",{"type":42,"tag":81,"props":2571,"children":2572},{"style":171},[2573],{"type":48,"value":2574}," }\n",{"type":42,"tag":320,"props":2576,"children":2578},{"id":2577},"direct-fetch",[2579],{"type":48,"value":2580},"Direct fetch",{"type":42,"tag":69,"props":2582,"children":2584},{"className":71,"code":2583,"language":73,"meta":74,"style":74},"curl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers \\\n  -H \"Authorization: Bearer sk_test_emulated\"\n",[2585],{"type":42,"tag":77,"props":2586,"children":2587},{"__ignoreMap":74},[2588,2606],{"type":42,"tag":81,"props":2589,"children":2590},{"class":83,"line":84},[2591,2596,2601],{"type":42,"tag":81,"props":2592,"children":2593},{"style":98},[2594],{"type":48,"value":2595},"curl",{"type":42,"tag":81,"props":2597,"children":2598},{"style":104},[2599],{"type":48,"value":2600}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers",{"type":42,"tag":81,"props":2602,"children":2603},{"style":177},[2604],{"type":48,"value":2605}," \\\n",{"type":42,"tag":81,"props":2607,"children":2608},{"class":83,"line":94},[2609,2614,2619,2624],{"type":42,"tag":81,"props":2610,"children":2611},{"style":104},[2612],{"type":48,"value":2613},"  -H",{"type":42,"tag":81,"props":2615,"children":2616},{"style":171},[2617],{"type":48,"value":2618}," \"",{"type":42,"tag":81,"props":2620,"children":2621},{"style":104},[2622],{"type":48,"value":2623},"Authorization: Bearer sk_test_emulated",{"type":42,"tag":81,"props":2625,"children":2626},{"style":171},[2627],{"type":48,"value":2628},"\"\n",{"type":42,"tag":62,"props":2630,"children":2632},{"id":2631},"seed-config",[2633],{"type":48,"value":2634},"Seed Config",{"type":42,"tag":51,"props":2636,"children":2637},{},[2638,2640,2646],{"type":48,"value":2639},"Seed data is optional. All entities support an optional ",{"type":42,"tag":77,"props":2641,"children":2643},{"className":2642},[],[2644],{"type":48,"value":2645},"id",{"type":48,"value":2647}," field for deterministic IDs that survive server restarts.",{"type":42,"tag":69,"props":2649,"children":2653},{"className":2650,"code":2651,"language":2652,"meta":74,"style":74},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","stripe:\n  customers:\n    - id: cus_demo\n      email: demo@example.com\n      name: Demo User\n  products:\n    - id: prod_tshirt\n      name: T-Shirt\n      description: A comfortable tee\n  prices:\n    - id: price_tshirt\n      product_name: T-Shirt\n      currency: usd\n      unit_amount: 2500\n  webhooks:\n    - url: http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fwebhooks\u002Fstripe\n      events: ['*']\n      secret: whsec_test\n","yaml",[2654],{"type":42,"tag":77,"props":2655,"children":2656},{"__ignoreMap":74},[2657,2669,2681,2702,2719,2736,2748,2768,2784,2801,2813,2833,2849,2866,2883,2895,2915,2948],{"type":42,"tag":81,"props":2658,"children":2659},{"class":83,"line":84},[2660,2664],{"type":42,"tag":81,"props":2661,"children":2662},{"style":254},[2663],{"type":48,"value":4},{"type":42,"tag":81,"props":2665,"children":2666},{"style":171},[2667],{"type":48,"value":2668},":\n",{"type":42,"tag":81,"props":2670,"children":2671},{"class":83,"line":94},[2672,2677],{"type":42,"tag":81,"props":2673,"children":2674},{"style":254},[2675],{"type":48,"value":2676},"  customers",{"type":42,"tag":81,"props":2678,"children":2679},{"style":171},[2680],{"type":48,"value":2668},{"type":42,"tag":81,"props":2682,"children":2683},{"class":83,"line":120},[2684,2689,2693,2697],{"type":42,"tag":81,"props":2685,"children":2686},{"style":171},[2687],{"type":48,"value":2688},"    -",{"type":42,"tag":81,"props":2690,"children":2691},{"style":254},[2692],{"type":48,"value":1326},{"type":42,"tag":81,"props":2694,"children":2695},{"style":171},[2696],{"type":48,"value":262},{"type":42,"tag":81,"props":2698,"children":2699},{"style":104},[2700],{"type":48,"value":2701}," cus_demo\n",{"type":42,"tag":81,"props":2703,"children":2704},{"class":83,"line":130},[2705,2710,2714],{"type":42,"tag":81,"props":2706,"children":2707},{"style":254},[2708],{"type":48,"value":2709},"      email",{"type":42,"tag":81,"props":2711,"children":2712},{"style":171},[2713],{"type":48,"value":262},{"type":42,"tag":81,"props":2715,"children":2716},{"style":104},[2717],{"type":48,"value":2718}," demo@example.com\n",{"type":42,"tag":81,"props":2720,"children":2721},{"class":83,"line":139},[2722,2727,2731],{"type":42,"tag":81,"props":2723,"children":2724},{"style":254},[2725],{"type":48,"value":2726},"      name",{"type":42,"tag":81,"props":2728,"children":2729},{"style":171},[2730],{"type":48,"value":262},{"type":42,"tag":81,"props":2732,"children":2733},{"style":104},[2734],{"type":48,"value":2735}," Demo User\n",{"type":42,"tag":81,"props":2737,"children":2738},{"class":83,"line":494},[2739,2744],{"type":42,"tag":81,"props":2740,"children":2741},{"style":254},[2742],{"type":48,"value":2743},"  products",{"type":42,"tag":81,"props":2745,"children":2746},{"style":171},[2747],{"type":48,"value":2668},{"type":42,"tag":81,"props":2749,"children":2750},{"class":83,"line":515},[2751,2755,2759,2763],{"type":42,"tag":81,"props":2752,"children":2753},{"style":171},[2754],{"type":48,"value":2688},{"type":42,"tag":81,"props":2756,"children":2757},{"style":254},[2758],{"type":48,"value":1326},{"type":42,"tag":81,"props":2760,"children":2761},{"style":171},[2762],{"type":48,"value":262},{"type":42,"tag":81,"props":2764,"children":2765},{"style":104},[2766],{"type":48,"value":2767}," prod_tshirt\n",{"type":42,"tag":81,"props":2769,"children":2770},{"class":83,"line":545},[2771,2775,2779],{"type":42,"tag":81,"props":2772,"children":2773},{"style":254},[2774],{"type":48,"value":2726},{"type":42,"tag":81,"props":2776,"children":2777},{"style":171},[2778],{"type":48,"value":262},{"type":42,"tag":81,"props":2780,"children":2781},{"style":104},[2782],{"type":48,"value":2783}," T-Shirt\n",{"type":42,"tag":81,"props":2785,"children":2786},{"class":83,"line":977},[2787,2792,2796],{"type":42,"tag":81,"props":2788,"children":2789},{"style":254},[2790],{"type":48,"value":2791},"      description",{"type":42,"tag":81,"props":2793,"children":2794},{"style":171},[2795],{"type":48,"value":262},{"type":42,"tag":81,"props":2797,"children":2798},{"style":104},[2799],{"type":48,"value":2800}," A comfortable tee\n",{"type":42,"tag":81,"props":2802,"children":2803},{"class":83,"line":1017},[2804,2809],{"type":42,"tag":81,"props":2805,"children":2806},{"style":254},[2807],{"type":48,"value":2808},"  prices",{"type":42,"tag":81,"props":2810,"children":2811},{"style":171},[2812],{"type":48,"value":2668},{"type":42,"tag":81,"props":2814,"children":2815},{"class":83,"line":1045},[2816,2820,2824,2828],{"type":42,"tag":81,"props":2817,"children":2818},{"style":171},[2819],{"type":48,"value":2688},{"type":42,"tag":81,"props":2821,"children":2822},{"style":254},[2823],{"type":48,"value":1326},{"type":42,"tag":81,"props":2825,"children":2826},{"style":171},[2827],{"type":48,"value":262},{"type":42,"tag":81,"props":2829,"children":2830},{"style":104},[2831],{"type":48,"value":2832}," price_tshirt\n",{"type":42,"tag":81,"props":2834,"children":2835},{"class":83,"line":1403},[2836,2841,2845],{"type":42,"tag":81,"props":2837,"children":2838},{"style":254},[2839],{"type":48,"value":2840},"      product_name",{"type":42,"tag":81,"props":2842,"children":2843},{"style":171},[2844],{"type":48,"value":262},{"type":42,"tag":81,"props":2846,"children":2847},{"style":104},[2848],{"type":48,"value":2783},{"type":42,"tag":81,"props":2850,"children":2851},{"class":83,"line":1416},[2852,2857,2861],{"type":42,"tag":81,"props":2853,"children":2854},{"style":254},[2855],{"type":48,"value":2856},"      currency",{"type":42,"tag":81,"props":2858,"children":2859},{"style":171},[2860],{"type":48,"value":262},{"type":42,"tag":81,"props":2862,"children":2863},{"style":104},[2864],{"type":48,"value":2865}," usd\n",{"type":42,"tag":81,"props":2867,"children":2868},{"class":83,"line":1433},[2869,2874,2878],{"type":42,"tag":81,"props":2870,"children":2871},{"style":254},[2872],{"type":48,"value":2873},"      unit_amount",{"type":42,"tag":81,"props":2875,"children":2876},{"style":171},[2877],{"type":48,"value":262},{"type":42,"tag":81,"props":2879,"children":2880},{"style":292},[2881],{"type":48,"value":2882}," 2500\n",{"type":42,"tag":81,"props":2884,"children":2885},{"class":83,"line":1535},[2886,2891],{"type":42,"tag":81,"props":2887,"children":2888},{"style":254},[2889],{"type":48,"value":2890},"  webhooks",{"type":42,"tag":81,"props":2892,"children":2893},{"style":171},[2894],{"type":48,"value":2668},{"type":42,"tag":81,"props":2896,"children":2897},{"class":83,"line":1547},[2898,2902,2906,2910],{"type":42,"tag":81,"props":2899,"children":2900},{"style":171},[2901],{"type":48,"value":2688},{"type":42,"tag":81,"props":2903,"children":2904},{"style":254},[2905],{"type":48,"value":2003},{"type":42,"tag":81,"props":2907,"children":2908},{"style":171},[2909],{"type":48,"value":262},{"type":42,"tag":81,"props":2911,"children":2912},{"style":104},[2913],{"type":48,"value":2914}," http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fwebhooks\u002Fstripe\n",{"type":42,"tag":81,"props":2916,"children":2917},{"class":83,"line":1564},[2918,2923,2927,2931,2935,2939,2943],{"type":42,"tag":81,"props":2919,"children":2920},{"style":254},[2921],{"type":48,"value":2922},"      events",{"type":42,"tag":81,"props":2924,"children":2925},{"style":171},[2926],{"type":48,"value":262},{"type":42,"tag":81,"props":2928,"children":2929},{"style":171},[2930],{"type":48,"value":1668},{"type":42,"tag":81,"props":2932,"children":2933},{"style":171},[2934],{"type":48,"value":275},{"type":42,"tag":81,"props":2936,"children":2937},{"style":104},[2938],{"type":48,"value":1677},{"type":42,"tag":81,"props":2940,"children":2941},{"style":171},[2942],{"type":48,"value":275},{"type":42,"tag":81,"props":2944,"children":2945},{"style":171},[2946],{"type":48,"value":2947},"]\n",{"type":42,"tag":81,"props":2949,"children":2950},{"class":83,"line":1573},[2951,2956,2960],{"type":42,"tag":81,"props":2952,"children":2953},{"style":254},[2954],{"type":48,"value":2955},"      secret",{"type":42,"tag":81,"props":2957,"children":2958},{"style":171},[2959],{"type":48,"value":262},{"type":42,"tag":81,"props":2961,"children":2962},{"style":104},[2963],{"type":48,"value":2964}," whsec_test\n",{"type":42,"tag":51,"props":2966,"children":2967},{},[2968,2970,2976,2978,2984],{"type":48,"value":2969},"The ",{"type":42,"tag":77,"props":2971,"children":2973},{"className":2972},[],[2974],{"type":48,"value":2975},"product_name",{"type":48,"value":2977}," field in prices links to the product by name. Use ",{"type":42,"tag":77,"props":2979,"children":2981},{"className":2980},[],[2982],{"type":48,"value":2983},"events: ['*']",{"type":48,"value":2985}," to receive all webhook events, or specify individual event types.",{"type":42,"tag":62,"props":2987,"children":2989},{"id":2988},"api-endpoints",[2990],{"type":48,"value":2991},"API Endpoints",{"type":42,"tag":320,"props":2993,"children":2995},{"id":2994},"customers",[2996],{"type":48,"value":2997},"Customers",{"type":42,"tag":69,"props":2999,"children":3001},{"className":71,"code":3000,"language":73,"meta":74,"style":74},"# Create customer\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers \\\n  -d \"email=user@example.com\" -d \"name=Jane Doe\"\n\n# Retrieve customer\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx\n\n# Update customer\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx \\\n  -d \"name=Updated Name\"\n\n# Delete customer\ncurl -X DELETE http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx\n\n# List customers\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\n",[3002],{"type":42,"tag":77,"props":3003,"children":3004},{"__ignoreMap":74},[3005,3013,3037,3077,3084,3092,3104,3111,3119,3143,3163,3170,3178,3197,3204,3212],{"type":42,"tag":81,"props":3006,"children":3007},{"class":83,"line":84},[3008],{"type":42,"tag":81,"props":3009,"children":3010},{"style":88},[3011],{"type":48,"value":3012},"# Create customer\n",{"type":42,"tag":81,"props":3014,"children":3015},{"class":83,"line":94},[3016,3020,3025,3029,3033],{"type":42,"tag":81,"props":3017,"children":3018},{"style":98},[3019],{"type":48,"value":2595},{"type":42,"tag":81,"props":3021,"children":3022},{"style":104},[3023],{"type":48,"value":3024}," -X",{"type":42,"tag":81,"props":3026,"children":3027},{"style":104},[3028],{"type":48,"value":1179},{"type":42,"tag":81,"props":3030,"children":3031},{"style":104},[3032],{"type":48,"value":2600},{"type":42,"tag":81,"props":3034,"children":3035},{"style":177},[3036],{"type":48,"value":2605},{"type":42,"tag":81,"props":3038,"children":3039},{"class":83,"line":120},[3040,3045,3049,3054,3059,3064,3068,3073],{"type":42,"tag":81,"props":3041,"children":3042},{"style":104},[3043],{"type":48,"value":3044},"  -d",{"type":42,"tag":81,"props":3046,"children":3047},{"style":171},[3048],{"type":48,"value":2618},{"type":42,"tag":81,"props":3050,"children":3051},{"style":104},[3052],{"type":48,"value":3053},"email=user@example.com",{"type":42,"tag":81,"props":3055,"children":3056},{"style":171},[3057],{"type":48,"value":3058},"\"",{"type":42,"tag":81,"props":3060,"children":3061},{"style":104},[3062],{"type":48,"value":3063}," -d",{"type":42,"tag":81,"props":3065,"children":3066},{"style":171},[3067],{"type":48,"value":2618},{"type":42,"tag":81,"props":3069,"children":3070},{"style":104},[3071],{"type":48,"value":3072},"name=Jane Doe",{"type":42,"tag":81,"props":3074,"children":3075},{"style":171},[3076],{"type":48,"value":2628},{"type":42,"tag":81,"props":3078,"children":3079},{"class":83,"line":130},[3080],{"type":42,"tag":81,"props":3081,"children":3082},{"emptyLinePlaceholder":124},[3083],{"type":48,"value":127},{"type":42,"tag":81,"props":3085,"children":3086},{"class":83,"line":139},[3087],{"type":42,"tag":81,"props":3088,"children":3089},{"style":88},[3090],{"type":48,"value":3091},"# Retrieve customer\n",{"type":42,"tag":81,"props":3093,"children":3094},{"class":83,"line":494},[3095,3099],{"type":42,"tag":81,"props":3096,"children":3097},{"style":98},[3098],{"type":48,"value":2595},{"type":42,"tag":81,"props":3100,"children":3101},{"style":104},[3102],{"type":48,"value":3103}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx\n",{"type":42,"tag":81,"props":3105,"children":3106},{"class":83,"line":515},[3107],{"type":42,"tag":81,"props":3108,"children":3109},{"emptyLinePlaceholder":124},[3110],{"type":48,"value":127},{"type":42,"tag":81,"props":3112,"children":3113},{"class":83,"line":545},[3114],{"type":42,"tag":81,"props":3115,"children":3116},{"style":88},[3117],{"type":48,"value":3118},"# Update customer\n",{"type":42,"tag":81,"props":3120,"children":3121},{"class":83,"line":977},[3122,3126,3130,3134,3139],{"type":42,"tag":81,"props":3123,"children":3124},{"style":98},[3125],{"type":48,"value":2595},{"type":42,"tag":81,"props":3127,"children":3128},{"style":104},[3129],{"type":48,"value":3024},{"type":42,"tag":81,"props":3131,"children":3132},{"style":104},[3133],{"type":48,"value":1179},{"type":42,"tag":81,"props":3135,"children":3136},{"style":104},[3137],{"type":48,"value":3138}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\u002Fcus_xxx",{"type":42,"tag":81,"props":3140,"children":3141},{"style":177},[3142],{"type":48,"value":2605},{"type":42,"tag":81,"props":3144,"children":3145},{"class":83,"line":1017},[3146,3150,3154,3159],{"type":42,"tag":81,"props":3147,"children":3148},{"style":104},[3149],{"type":48,"value":3044},{"type":42,"tag":81,"props":3151,"children":3152},{"style":171},[3153],{"type":48,"value":2618},{"type":42,"tag":81,"props":3155,"children":3156},{"style":104},[3157],{"type":48,"value":3158},"name=Updated Name",{"type":42,"tag":81,"props":3160,"children":3161},{"style":171},[3162],{"type":48,"value":2628},{"type":42,"tag":81,"props":3164,"children":3165},{"class":83,"line":1045},[3166],{"type":42,"tag":81,"props":3167,"children":3168},{"emptyLinePlaceholder":124},[3169],{"type":48,"value":127},{"type":42,"tag":81,"props":3171,"children":3172},{"class":83,"line":1403},[3173],{"type":42,"tag":81,"props":3174,"children":3175},{"style":88},[3176],{"type":48,"value":3177},"# Delete customer\n",{"type":42,"tag":81,"props":3179,"children":3180},{"class":83,"line":1416},[3181,3185,3189,3193],{"type":42,"tag":81,"props":3182,"children":3183},{"style":98},[3184],{"type":48,"value":2595},{"type":42,"tag":81,"props":3186,"children":3187},{"style":104},[3188],{"type":48,"value":3024},{"type":42,"tag":81,"props":3190,"children":3191},{"style":104},[3192],{"type":48,"value":2569},{"type":42,"tag":81,"props":3194,"children":3195},{"style":104},[3196],{"type":48,"value":3103},{"type":42,"tag":81,"props":3198,"children":3199},{"class":83,"line":1433},[3200],{"type":42,"tag":81,"props":3201,"children":3202},{"emptyLinePlaceholder":124},[3203],{"type":48,"value":127},{"type":42,"tag":81,"props":3205,"children":3206},{"class":83,"line":1535},[3207],{"type":42,"tag":81,"props":3208,"children":3209},{"style":88},[3210],{"type":48,"value":3211},"# List customers\n",{"type":42,"tag":81,"props":3213,"children":3214},{"class":83,"line":1547},[3215,3219],{"type":42,"tag":81,"props":3216,"children":3217},{"style":98},[3218],{"type":48,"value":2595},{"type":42,"tag":81,"props":3220,"children":3221},{"style":104},[3222],{"type":48,"value":3223}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomers\n",{"type":42,"tag":320,"props":3225,"children":3227},{"id":3226},"products",[3228],{"type":48,"value":3229},"Products",{"type":42,"tag":69,"props":3231,"children":3233},{"className":71,"code":3232,"language":73,"meta":74,"style":74},"# Create product\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts \\\n  -d \"name=Widget\" -d \"description=A useful widget\"\n\n# Retrieve product\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts\u002Fprod_xxx\n\n# List products\ncurl \"http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts?active=true\"\n",[3234],{"type":42,"tag":77,"props":3235,"children":3236},{"__ignoreMap":74},[3237,3245,3269,3306,3313,3321,3333,3340,3348],{"type":42,"tag":81,"props":3238,"children":3239},{"class":83,"line":84},[3240],{"type":42,"tag":81,"props":3241,"children":3242},{"style":88},[3243],{"type":48,"value":3244},"# Create product\n",{"type":42,"tag":81,"props":3246,"children":3247},{"class":83,"line":94},[3248,3252,3256,3260,3265],{"type":42,"tag":81,"props":3249,"children":3250},{"style":98},[3251],{"type":48,"value":2595},{"type":42,"tag":81,"props":3253,"children":3254},{"style":104},[3255],{"type":48,"value":3024},{"type":42,"tag":81,"props":3257,"children":3258},{"style":104},[3259],{"type":48,"value":1179},{"type":42,"tag":81,"props":3261,"children":3262},{"style":104},[3263],{"type":48,"value":3264}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts",{"type":42,"tag":81,"props":3266,"children":3267},{"style":177},[3268],{"type":48,"value":2605},{"type":42,"tag":81,"props":3270,"children":3271},{"class":83,"line":120},[3272,3276,3280,3285,3289,3293,3297,3302],{"type":42,"tag":81,"props":3273,"children":3274},{"style":104},[3275],{"type":48,"value":3044},{"type":42,"tag":81,"props":3277,"children":3278},{"style":171},[3279],{"type":48,"value":2618},{"type":42,"tag":81,"props":3281,"children":3282},{"style":104},[3283],{"type":48,"value":3284},"name=Widget",{"type":42,"tag":81,"props":3286,"children":3287},{"style":171},[3288],{"type":48,"value":3058},{"type":42,"tag":81,"props":3290,"children":3291},{"style":104},[3292],{"type":48,"value":3063},{"type":42,"tag":81,"props":3294,"children":3295},{"style":171},[3296],{"type":48,"value":2618},{"type":42,"tag":81,"props":3298,"children":3299},{"style":104},[3300],{"type":48,"value":3301},"description=A useful widget",{"type":42,"tag":81,"props":3303,"children":3304},{"style":171},[3305],{"type":48,"value":2628},{"type":42,"tag":81,"props":3307,"children":3308},{"class":83,"line":130},[3309],{"type":42,"tag":81,"props":3310,"children":3311},{"emptyLinePlaceholder":124},[3312],{"type":48,"value":127},{"type":42,"tag":81,"props":3314,"children":3315},{"class":83,"line":139},[3316],{"type":42,"tag":81,"props":3317,"children":3318},{"style":88},[3319],{"type":48,"value":3320},"# Retrieve product\n",{"type":42,"tag":81,"props":3322,"children":3323},{"class":83,"line":494},[3324,3328],{"type":42,"tag":81,"props":3325,"children":3326},{"style":98},[3327],{"type":48,"value":2595},{"type":42,"tag":81,"props":3329,"children":3330},{"style":104},[3331],{"type":48,"value":3332}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts\u002Fprod_xxx\n",{"type":42,"tag":81,"props":3334,"children":3335},{"class":83,"line":515},[3336],{"type":42,"tag":81,"props":3337,"children":3338},{"emptyLinePlaceholder":124},[3339],{"type":48,"value":127},{"type":42,"tag":81,"props":3341,"children":3342},{"class":83,"line":545},[3343],{"type":42,"tag":81,"props":3344,"children":3345},{"style":88},[3346],{"type":48,"value":3347},"# List products\n",{"type":42,"tag":81,"props":3349,"children":3350},{"class":83,"line":977},[3351,3355,3359,3364],{"type":42,"tag":81,"props":3352,"children":3353},{"style":98},[3354],{"type":48,"value":2595},{"type":42,"tag":81,"props":3356,"children":3357},{"style":171},[3358],{"type":48,"value":2618},{"type":42,"tag":81,"props":3360,"children":3361},{"style":104},[3362],{"type":48,"value":3363},"http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fproducts?active=true",{"type":42,"tag":81,"props":3365,"children":3366},{"style":171},[3367],{"type":48,"value":2628},{"type":42,"tag":320,"props":3369,"children":3371},{"id":3370},"prices",[3372],{"type":48,"value":3373},"Prices",{"type":42,"tag":69,"props":3375,"children":3377},{"className":71,"code":3376,"language":73,"meta":74,"style":74},"# Create price\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices \\\n  -d \"product=prod_xxx\" -d \"currency=usd\" -d \"unit_amount=1000\"\n\n# Retrieve price\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices\u002Fprice_xxx\n\n# List prices\ncurl \"http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices?active=true\"\n",[3378],{"type":42,"tag":77,"props":3379,"children":3380},{"__ignoreMap":74},[3381,3389,3413,3467,3474,3482,3494,3501,3509],{"type":42,"tag":81,"props":3382,"children":3383},{"class":83,"line":84},[3384],{"type":42,"tag":81,"props":3385,"children":3386},{"style":88},[3387],{"type":48,"value":3388},"# Create price\n",{"type":42,"tag":81,"props":3390,"children":3391},{"class":83,"line":94},[3392,3396,3400,3404,3409],{"type":42,"tag":81,"props":3393,"children":3394},{"style":98},[3395],{"type":48,"value":2595},{"type":42,"tag":81,"props":3397,"children":3398},{"style":104},[3399],{"type":48,"value":3024},{"type":42,"tag":81,"props":3401,"children":3402},{"style":104},[3403],{"type":48,"value":1179},{"type":42,"tag":81,"props":3405,"children":3406},{"style":104},[3407],{"type":48,"value":3408}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices",{"type":42,"tag":81,"props":3410,"children":3411},{"style":177},[3412],{"type":48,"value":2605},{"type":42,"tag":81,"props":3414,"children":3415},{"class":83,"line":120},[3416,3420,3424,3429,3433,3437,3441,3446,3450,3454,3458,3463],{"type":42,"tag":81,"props":3417,"children":3418},{"style":104},[3419],{"type":48,"value":3044},{"type":42,"tag":81,"props":3421,"children":3422},{"style":171},[3423],{"type":48,"value":2618},{"type":42,"tag":81,"props":3425,"children":3426},{"style":104},[3427],{"type":48,"value":3428},"product=prod_xxx",{"type":42,"tag":81,"props":3430,"children":3431},{"style":171},[3432],{"type":48,"value":3058},{"type":42,"tag":81,"props":3434,"children":3435},{"style":104},[3436],{"type":48,"value":3063},{"type":42,"tag":81,"props":3438,"children":3439},{"style":171},[3440],{"type":48,"value":2618},{"type":42,"tag":81,"props":3442,"children":3443},{"style":104},[3444],{"type":48,"value":3445},"currency=usd",{"type":42,"tag":81,"props":3447,"children":3448},{"style":171},[3449],{"type":48,"value":3058},{"type":42,"tag":81,"props":3451,"children":3452},{"style":104},[3453],{"type":48,"value":3063},{"type":42,"tag":81,"props":3455,"children":3456},{"style":171},[3457],{"type":48,"value":2618},{"type":42,"tag":81,"props":3459,"children":3460},{"style":104},[3461],{"type":48,"value":3462},"unit_amount=1000",{"type":42,"tag":81,"props":3464,"children":3465},{"style":171},[3466],{"type":48,"value":2628},{"type":42,"tag":81,"props":3468,"children":3469},{"class":83,"line":130},[3470],{"type":42,"tag":81,"props":3471,"children":3472},{"emptyLinePlaceholder":124},[3473],{"type":48,"value":127},{"type":42,"tag":81,"props":3475,"children":3476},{"class":83,"line":139},[3477],{"type":42,"tag":81,"props":3478,"children":3479},{"style":88},[3480],{"type":48,"value":3481},"# Retrieve price\n",{"type":42,"tag":81,"props":3483,"children":3484},{"class":83,"line":494},[3485,3489],{"type":42,"tag":81,"props":3486,"children":3487},{"style":98},[3488],{"type":48,"value":2595},{"type":42,"tag":81,"props":3490,"children":3491},{"style":104},[3492],{"type":48,"value":3493}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices\u002Fprice_xxx\n",{"type":42,"tag":81,"props":3495,"children":3496},{"class":83,"line":515},[3497],{"type":42,"tag":81,"props":3498,"children":3499},{"emptyLinePlaceholder":124},[3500],{"type":48,"value":127},{"type":42,"tag":81,"props":3502,"children":3503},{"class":83,"line":545},[3504],{"type":42,"tag":81,"props":3505,"children":3506},{"style":88},[3507],{"type":48,"value":3508},"# List prices\n",{"type":42,"tag":81,"props":3510,"children":3511},{"class":83,"line":977},[3512,3516,3520,3525],{"type":42,"tag":81,"props":3513,"children":3514},{"style":98},[3515],{"type":48,"value":2595},{"type":42,"tag":81,"props":3517,"children":3518},{"style":171},[3519],{"type":48,"value":2618},{"type":42,"tag":81,"props":3521,"children":3522},{"style":104},[3523],{"type":48,"value":3524},"http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fprices?active=true",{"type":42,"tag":81,"props":3526,"children":3527},{"style":171},[3528],{"type":48,"value":2628},{"type":42,"tag":320,"props":3530,"children":3532},{"id":3531},"checkout-sessions",[3533],{"type":48,"value":3534},"Checkout Sessions",{"type":42,"tag":69,"props":3536,"children":3538},{"className":71,"code":3537,"language":73,"meta":74,"style":74},"# Create checkout session\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions \\\n  -d \"mode=payment\" \\\n  -d \"line_items[0][price]=price_xxx\" \\\n  -d \"line_items[0][quantity]=1\" \\\n  -d \"success_url=http:\u002F\u002Flocalhost:3000\u002Fsuccess?session_id={CHECKOUT_SESSION_ID}\" \\\n  -d \"cancel_url=http:\u002F\u002Flocalhost:3000\u002Fcart\"\n\n# Retrieve session\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\u002Fcs_xxx\n\n# List sessions\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\n\n# Expire a session\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\u002Fcs_xxx\u002Fexpire\n",[3539],{"type":42,"tag":77,"props":3540,"children":3541},{"__ignoreMap":74},[3542,3550,3574,3598,3622,3646,3670,3690,3697,3705,3717,3724,3732,3744,3751,3759],{"type":42,"tag":81,"props":3543,"children":3544},{"class":83,"line":84},[3545],{"type":42,"tag":81,"props":3546,"children":3547},{"style":88},[3548],{"type":48,"value":3549},"# Create checkout session\n",{"type":42,"tag":81,"props":3551,"children":3552},{"class":83,"line":94},[3553,3557,3561,3565,3570],{"type":42,"tag":81,"props":3554,"children":3555},{"style":98},[3556],{"type":48,"value":2595},{"type":42,"tag":81,"props":3558,"children":3559},{"style":104},[3560],{"type":48,"value":3024},{"type":42,"tag":81,"props":3562,"children":3563},{"style":104},[3564],{"type":48,"value":1179},{"type":42,"tag":81,"props":3566,"children":3567},{"style":104},[3568],{"type":48,"value":3569}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions",{"type":42,"tag":81,"props":3571,"children":3572},{"style":177},[3573],{"type":48,"value":2605},{"type":42,"tag":81,"props":3575,"children":3576},{"class":83,"line":120},[3577,3581,3585,3590,3594],{"type":42,"tag":81,"props":3578,"children":3579},{"style":104},[3580],{"type":48,"value":3044},{"type":42,"tag":81,"props":3582,"children":3583},{"style":171},[3584],{"type":48,"value":2618},{"type":42,"tag":81,"props":3586,"children":3587},{"style":104},[3588],{"type":48,"value":3589},"mode=payment",{"type":42,"tag":81,"props":3591,"children":3592},{"style":171},[3593],{"type":48,"value":3058},{"type":42,"tag":81,"props":3595,"children":3596},{"style":177},[3597],{"type":48,"value":2605},{"type":42,"tag":81,"props":3599,"children":3600},{"class":83,"line":130},[3601,3605,3609,3614,3618],{"type":42,"tag":81,"props":3602,"children":3603},{"style":104},[3604],{"type":48,"value":3044},{"type":42,"tag":81,"props":3606,"children":3607},{"style":171},[3608],{"type":48,"value":2618},{"type":42,"tag":81,"props":3610,"children":3611},{"style":104},[3612],{"type":48,"value":3613},"line_items[0][price]=price_xxx",{"type":42,"tag":81,"props":3615,"children":3616},{"style":171},[3617],{"type":48,"value":3058},{"type":42,"tag":81,"props":3619,"children":3620},{"style":177},[3621],{"type":48,"value":2605},{"type":42,"tag":81,"props":3623,"children":3624},{"class":83,"line":139},[3625,3629,3633,3638,3642],{"type":42,"tag":81,"props":3626,"children":3627},{"style":104},[3628],{"type":48,"value":3044},{"type":42,"tag":81,"props":3630,"children":3631},{"style":171},[3632],{"type":48,"value":2618},{"type":42,"tag":81,"props":3634,"children":3635},{"style":104},[3636],{"type":48,"value":3637},"line_items[0][quantity]=1",{"type":42,"tag":81,"props":3639,"children":3640},{"style":171},[3641],{"type":48,"value":3058},{"type":42,"tag":81,"props":3643,"children":3644},{"style":177},[3645],{"type":48,"value":2605},{"type":42,"tag":81,"props":3647,"children":3648},{"class":83,"line":494},[3649,3653,3657,3662,3666],{"type":42,"tag":81,"props":3650,"children":3651},{"style":104},[3652],{"type":48,"value":3044},{"type":42,"tag":81,"props":3654,"children":3655},{"style":171},[3656],{"type":48,"value":2618},{"type":42,"tag":81,"props":3658,"children":3659},{"style":104},[3660],{"type":48,"value":3661},"success_url=http:\u002F\u002Flocalhost:3000\u002Fsuccess?session_id={CHECKOUT_SESSION_ID}",{"type":42,"tag":81,"props":3663,"children":3664},{"style":171},[3665],{"type":48,"value":3058},{"type":42,"tag":81,"props":3667,"children":3668},{"style":177},[3669],{"type":48,"value":2605},{"type":42,"tag":81,"props":3671,"children":3672},{"class":83,"line":515},[3673,3677,3681,3686],{"type":42,"tag":81,"props":3674,"children":3675},{"style":104},[3676],{"type":48,"value":3044},{"type":42,"tag":81,"props":3678,"children":3679},{"style":171},[3680],{"type":48,"value":2618},{"type":42,"tag":81,"props":3682,"children":3683},{"style":104},[3684],{"type":48,"value":3685},"cancel_url=http:\u002F\u002Flocalhost:3000\u002Fcart",{"type":42,"tag":81,"props":3687,"children":3688},{"style":171},[3689],{"type":48,"value":2628},{"type":42,"tag":81,"props":3691,"children":3692},{"class":83,"line":545},[3693],{"type":42,"tag":81,"props":3694,"children":3695},{"emptyLinePlaceholder":124},[3696],{"type":48,"value":127},{"type":42,"tag":81,"props":3698,"children":3699},{"class":83,"line":977},[3700],{"type":42,"tag":81,"props":3701,"children":3702},{"style":88},[3703],{"type":48,"value":3704},"# Retrieve session\n",{"type":42,"tag":81,"props":3706,"children":3707},{"class":83,"line":1017},[3708,3712],{"type":42,"tag":81,"props":3709,"children":3710},{"style":98},[3711],{"type":48,"value":2595},{"type":42,"tag":81,"props":3713,"children":3714},{"style":104},[3715],{"type":48,"value":3716}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\u002Fcs_xxx\n",{"type":42,"tag":81,"props":3718,"children":3719},{"class":83,"line":1045},[3720],{"type":42,"tag":81,"props":3721,"children":3722},{"emptyLinePlaceholder":124},[3723],{"type":48,"value":127},{"type":42,"tag":81,"props":3725,"children":3726},{"class":83,"line":1403},[3727],{"type":42,"tag":81,"props":3728,"children":3729},{"style":88},[3730],{"type":48,"value":3731},"# List sessions\n",{"type":42,"tag":81,"props":3733,"children":3734},{"class":83,"line":1416},[3735,3739],{"type":42,"tag":81,"props":3736,"children":3737},{"style":98},[3738],{"type":48,"value":2595},{"type":42,"tag":81,"props":3740,"children":3741},{"style":104},[3742],{"type":48,"value":3743}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\n",{"type":42,"tag":81,"props":3745,"children":3746},{"class":83,"line":1433},[3747],{"type":42,"tag":81,"props":3748,"children":3749},{"emptyLinePlaceholder":124},[3750],{"type":48,"value":127},{"type":42,"tag":81,"props":3752,"children":3753},{"class":83,"line":1535},[3754],{"type":42,"tag":81,"props":3755,"children":3756},{"style":88},[3757],{"type":48,"value":3758},"# Expire a session\n",{"type":42,"tag":81,"props":3760,"children":3761},{"class":83,"line":1547},[3762,3766,3770,3774],{"type":42,"tag":81,"props":3763,"children":3764},{"style":98},[3765],{"type":48,"value":2595},{"type":42,"tag":81,"props":3767,"children":3768},{"style":104},[3769],{"type":48,"value":3024},{"type":42,"tag":81,"props":3771,"children":3772},{"style":104},[3773],{"type":48,"value":1179},{"type":42,"tag":81,"props":3775,"children":3776},{"style":104},[3777],{"type":48,"value":3778}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcheckout\u002Fsessions\u002Fcs_xxx\u002Fexpire\n",{"type":42,"tag":51,"props":3780,"children":3781},{},[3782,3784,3789,3791,3797,3799,3805,3807,3813,3815,3821,3823,3828],{"type":48,"value":3783},"The session's ",{"type":42,"tag":77,"props":3785,"children":3787},{"className":3786},[],[3788],{"type":48,"value":2033},{"type":48,"value":3790}," field points to a hosted checkout page at ",{"type":42,"tag":77,"props":3792,"children":3794},{"className":3793},[],[3795],{"type":48,"value":3796},"\u002Fcheckout\u002Fcs_xxx",{"type":48,"value":3798},". Clicking \"Pay\" on that page completes the session, fires the ",{"type":42,"tag":77,"props":3800,"children":3802},{"className":3801},[],[3803],{"type":48,"value":3804},"checkout.session.completed",{"type":48,"value":3806}," webhook, and redirects to ",{"type":42,"tag":77,"props":3808,"children":3810},{"className":3809},[],[3811],{"type":48,"value":3812},"success_url",{"type":48,"value":3814},". The ",{"type":42,"tag":77,"props":3816,"children":3818},{"className":3817},[],[3819],{"type":48,"value":3820},"{CHECKOUT_SESSION_ID}",{"type":48,"value":3822}," template in ",{"type":42,"tag":77,"props":3824,"children":3826},{"className":3825},[],[3827],{"type":48,"value":3812},{"type":48,"value":3829}," is replaced with the actual session ID.",{"type":42,"tag":320,"props":3831,"children":3833},{"id":3832},"payment-intents",[3834],{"type":48,"value":3835},"Payment Intents",{"type":42,"tag":69,"props":3837,"children":3839},{"className":71,"code":3838,"language":73,"meta":74,"style":74},"# Create payment intent\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents \\\n  -d \"amount=2000\" -d \"currency=usd\"\n\n# Retrieve\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\n\n# Update\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx \\\n  -d \"amount=3000\"\n\n# Confirm (triggers payment_intent.succeeded + charge.succeeded webhooks)\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\u002Fconfirm\n\n# Cancel\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\u002Fcancel\n\n# List\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\n",[3840],{"type":42,"tag":77,"props":3841,"children":3842},{"__ignoreMap":74},[3843,3851,3875,3911,3918,3926,3938,3945,3953,3977,3997,4004,4012,4032,4039,4047,4067,4074,4082],{"type":42,"tag":81,"props":3844,"children":3845},{"class":83,"line":84},[3846],{"type":42,"tag":81,"props":3847,"children":3848},{"style":88},[3849],{"type":48,"value":3850},"# Create payment intent\n",{"type":42,"tag":81,"props":3852,"children":3853},{"class":83,"line":94},[3854,3858,3862,3866,3871],{"type":42,"tag":81,"props":3855,"children":3856},{"style":98},[3857],{"type":48,"value":2595},{"type":42,"tag":81,"props":3859,"children":3860},{"style":104},[3861],{"type":48,"value":3024},{"type":42,"tag":81,"props":3863,"children":3864},{"style":104},[3865],{"type":48,"value":1179},{"type":42,"tag":81,"props":3867,"children":3868},{"style":104},[3869],{"type":48,"value":3870}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents",{"type":42,"tag":81,"props":3872,"children":3873},{"style":177},[3874],{"type":48,"value":2605},{"type":42,"tag":81,"props":3876,"children":3877},{"class":83,"line":120},[3878,3882,3886,3891,3895,3899,3903,3907],{"type":42,"tag":81,"props":3879,"children":3880},{"style":104},[3881],{"type":48,"value":3044},{"type":42,"tag":81,"props":3883,"children":3884},{"style":171},[3885],{"type":48,"value":2618},{"type":42,"tag":81,"props":3887,"children":3888},{"style":104},[3889],{"type":48,"value":3890},"amount=2000",{"type":42,"tag":81,"props":3892,"children":3893},{"style":171},[3894],{"type":48,"value":3058},{"type":42,"tag":81,"props":3896,"children":3897},{"style":104},[3898],{"type":48,"value":3063},{"type":42,"tag":81,"props":3900,"children":3901},{"style":171},[3902],{"type":48,"value":2618},{"type":42,"tag":81,"props":3904,"children":3905},{"style":104},[3906],{"type":48,"value":3445},{"type":42,"tag":81,"props":3908,"children":3909},{"style":171},[3910],{"type":48,"value":2628},{"type":42,"tag":81,"props":3912,"children":3913},{"class":83,"line":130},[3914],{"type":42,"tag":81,"props":3915,"children":3916},{"emptyLinePlaceholder":124},[3917],{"type":48,"value":127},{"type":42,"tag":81,"props":3919,"children":3920},{"class":83,"line":139},[3921],{"type":42,"tag":81,"props":3922,"children":3923},{"style":88},[3924],{"type":48,"value":3925},"# Retrieve\n",{"type":42,"tag":81,"props":3927,"children":3928},{"class":83,"line":494},[3929,3933],{"type":42,"tag":81,"props":3930,"children":3931},{"style":98},[3932],{"type":48,"value":2595},{"type":42,"tag":81,"props":3934,"children":3935},{"style":104},[3936],{"type":48,"value":3937}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\n",{"type":42,"tag":81,"props":3939,"children":3940},{"class":83,"line":515},[3941],{"type":42,"tag":81,"props":3942,"children":3943},{"emptyLinePlaceholder":124},[3944],{"type":48,"value":127},{"type":42,"tag":81,"props":3946,"children":3947},{"class":83,"line":545},[3948],{"type":42,"tag":81,"props":3949,"children":3950},{"style":88},[3951],{"type":48,"value":3952},"# Update\n",{"type":42,"tag":81,"props":3954,"children":3955},{"class":83,"line":977},[3956,3960,3964,3968,3973],{"type":42,"tag":81,"props":3957,"children":3958},{"style":98},[3959],{"type":48,"value":2595},{"type":42,"tag":81,"props":3961,"children":3962},{"style":104},[3963],{"type":48,"value":3024},{"type":42,"tag":81,"props":3965,"children":3966},{"style":104},[3967],{"type":48,"value":1179},{"type":42,"tag":81,"props":3969,"children":3970},{"style":104},[3971],{"type":48,"value":3972}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx",{"type":42,"tag":81,"props":3974,"children":3975},{"style":177},[3976],{"type":48,"value":2605},{"type":42,"tag":81,"props":3978,"children":3979},{"class":83,"line":1017},[3980,3984,3988,3993],{"type":42,"tag":81,"props":3981,"children":3982},{"style":104},[3983],{"type":48,"value":3044},{"type":42,"tag":81,"props":3985,"children":3986},{"style":171},[3987],{"type":48,"value":2618},{"type":42,"tag":81,"props":3989,"children":3990},{"style":104},[3991],{"type":48,"value":3992},"amount=3000",{"type":42,"tag":81,"props":3994,"children":3995},{"style":171},[3996],{"type":48,"value":2628},{"type":42,"tag":81,"props":3998,"children":3999},{"class":83,"line":1045},[4000],{"type":42,"tag":81,"props":4001,"children":4002},{"emptyLinePlaceholder":124},[4003],{"type":48,"value":127},{"type":42,"tag":81,"props":4005,"children":4006},{"class":83,"line":1403},[4007],{"type":42,"tag":81,"props":4008,"children":4009},{"style":88},[4010],{"type":48,"value":4011},"# Confirm (triggers payment_intent.succeeded + charge.succeeded webhooks)\n",{"type":42,"tag":81,"props":4013,"children":4014},{"class":83,"line":1416},[4015,4019,4023,4027],{"type":42,"tag":81,"props":4016,"children":4017},{"style":98},[4018],{"type":48,"value":2595},{"type":42,"tag":81,"props":4020,"children":4021},{"style":104},[4022],{"type":48,"value":3024},{"type":42,"tag":81,"props":4024,"children":4025},{"style":104},[4026],{"type":48,"value":1179},{"type":42,"tag":81,"props":4028,"children":4029},{"style":104},[4030],{"type":48,"value":4031}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\u002Fconfirm\n",{"type":42,"tag":81,"props":4033,"children":4034},{"class":83,"line":1433},[4035],{"type":42,"tag":81,"props":4036,"children":4037},{"emptyLinePlaceholder":124},[4038],{"type":48,"value":127},{"type":42,"tag":81,"props":4040,"children":4041},{"class":83,"line":1535},[4042],{"type":42,"tag":81,"props":4043,"children":4044},{"style":88},[4045],{"type":48,"value":4046},"# Cancel\n",{"type":42,"tag":81,"props":4048,"children":4049},{"class":83,"line":1547},[4050,4054,4058,4062],{"type":42,"tag":81,"props":4051,"children":4052},{"style":98},[4053],{"type":48,"value":2595},{"type":42,"tag":81,"props":4055,"children":4056},{"style":104},[4057],{"type":48,"value":3024},{"type":42,"tag":81,"props":4059,"children":4060},{"style":104},[4061],{"type":48,"value":1179},{"type":42,"tag":81,"props":4063,"children":4064},{"style":104},[4065],{"type":48,"value":4066}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\u002Fpi_xxx\u002Fcancel\n",{"type":42,"tag":81,"props":4068,"children":4069},{"class":83,"line":1564},[4070],{"type":42,"tag":81,"props":4071,"children":4072},{"emptyLinePlaceholder":124},[4073],{"type":48,"value":127},{"type":42,"tag":81,"props":4075,"children":4076},{"class":83,"line":1573},[4077],{"type":42,"tag":81,"props":4078,"children":4079},{"style":88},[4080],{"type":48,"value":4081},"# List\n",{"type":42,"tag":81,"props":4083,"children":4084},{"class":83,"line":1653},[4085,4089],{"type":42,"tag":81,"props":4086,"children":4087},{"style":98},[4088],{"type":48,"value":2595},{"type":42,"tag":81,"props":4090,"children":4091},{"style":104},[4092],{"type":48,"value":4093}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_intents\n",{"type":42,"tag":320,"props":4095,"children":4097},{"id":4096},"charges",[4098],{"type":48,"value":4099},"Charges",{"type":42,"tag":69,"props":4101,"children":4103},{"className":71,"code":4102,"language":73,"meta":74,"style":74},"# Retrieve charge\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcharges\u002Fch_xxx\n\n# List charges\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcharges\n",[4104],{"type":42,"tag":77,"props":4105,"children":4106},{"__ignoreMap":74},[4107,4115,4127,4134,4142],{"type":42,"tag":81,"props":4108,"children":4109},{"class":83,"line":84},[4110],{"type":42,"tag":81,"props":4111,"children":4112},{"style":88},[4113],{"type":48,"value":4114},"# Retrieve charge\n",{"type":42,"tag":81,"props":4116,"children":4117},{"class":83,"line":94},[4118,4122],{"type":42,"tag":81,"props":4119,"children":4120},{"style":98},[4121],{"type":48,"value":2595},{"type":42,"tag":81,"props":4123,"children":4124},{"style":104},[4125],{"type":48,"value":4126}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcharges\u002Fch_xxx\n",{"type":42,"tag":81,"props":4128,"children":4129},{"class":83,"line":120},[4130],{"type":42,"tag":81,"props":4131,"children":4132},{"emptyLinePlaceholder":124},[4133],{"type":48,"value":127},{"type":42,"tag":81,"props":4135,"children":4136},{"class":83,"line":130},[4137],{"type":42,"tag":81,"props":4138,"children":4139},{"style":88},[4140],{"type":48,"value":4141},"# List charges\n",{"type":42,"tag":81,"props":4143,"children":4144},{"class":83,"line":139},[4145,4149],{"type":42,"tag":81,"props":4146,"children":4147},{"style":98},[4148],{"type":48,"value":2595},{"type":42,"tag":81,"props":4150,"children":4151},{"style":104},[4152],{"type":48,"value":4153}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcharges\n",{"type":42,"tag":51,"props":4155,"children":4156},{},[4157],{"type":48,"value":4158},"Charges are created automatically when a payment intent is confirmed.",{"type":42,"tag":320,"props":4160,"children":4162},{"id":4161},"customer-sessions",[4163],{"type":48,"value":4164},"Customer Sessions",{"type":42,"tag":69,"props":4166,"children":4168},{"className":71,"code":4167,"language":73,"meta":74,"style":74},"# Create customer session\ncurl -X POST http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomer_sessions \\\n  -d \"customer=cus_xxx\"\n",[4169],{"type":42,"tag":77,"props":4170,"children":4171},{"__ignoreMap":74},[4172,4180,4204],{"type":42,"tag":81,"props":4173,"children":4174},{"class":83,"line":84},[4175],{"type":42,"tag":81,"props":4176,"children":4177},{"style":88},[4178],{"type":48,"value":4179},"# Create customer session\n",{"type":42,"tag":81,"props":4181,"children":4182},{"class":83,"line":94},[4183,4187,4191,4195,4200],{"type":42,"tag":81,"props":4184,"children":4185},{"style":98},[4186],{"type":48,"value":2595},{"type":42,"tag":81,"props":4188,"children":4189},{"style":104},[4190],{"type":48,"value":3024},{"type":42,"tag":81,"props":4192,"children":4193},{"style":104},[4194],{"type":48,"value":1179},{"type":42,"tag":81,"props":4196,"children":4197},{"style":104},[4198],{"type":48,"value":4199}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fcustomer_sessions",{"type":42,"tag":81,"props":4201,"children":4202},{"style":177},[4203],{"type":48,"value":2605},{"type":42,"tag":81,"props":4205,"children":4206},{"class":83,"line":120},[4207,4211,4215,4220],{"type":42,"tag":81,"props":4208,"children":4209},{"style":104},[4210],{"type":48,"value":3044},{"type":42,"tag":81,"props":4212,"children":4213},{"style":171},[4214],{"type":48,"value":2618},{"type":42,"tag":81,"props":4216,"children":4217},{"style":104},[4218],{"type":48,"value":4219},"customer=cus_xxx",{"type":42,"tag":81,"props":4221,"children":4222},{"style":171},[4223],{"type":48,"value":2628},{"type":42,"tag":320,"props":4225,"children":4227},{"id":4226},"payment-methods",[4228],{"type":48,"value":4229},"Payment Methods",{"type":42,"tag":69,"props":4231,"children":4233},{"className":71,"code":4232,"language":73,"meta":74,"style":74},"# List payment methods\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_methods\n",[4234],{"type":42,"tag":77,"props":4235,"children":4236},{"__ignoreMap":74},[4237,4245],{"type":42,"tag":81,"props":4238,"children":4239},{"class":83,"line":84},[4240],{"type":42,"tag":81,"props":4241,"children":4242},{"style":88},[4243],{"type":48,"value":4244},"# List payment methods\n",{"type":42,"tag":81,"props":4246,"children":4247},{"class":83,"line":94},[4248,4252],{"type":42,"tag":81,"props":4249,"children":4250},{"style":98},[4251],{"type":48,"value":2595},{"type":42,"tag":81,"props":4253,"children":4254},{"style":104},[4255],{"type":48,"value":4256}," http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fpayment_methods\n",{"type":42,"tag":62,"props":4258,"children":4260},{"id":4259},"webhooks",[4261],{"type":48,"value":4262},"Webhooks",{"type":42,"tag":51,"props":4264,"children":4265},{},[4266],{"type":48,"value":4267},"The emulator dispatches webhook events when state changes. Register webhooks via seed config or programmatically.",{"type":42,"tag":320,"props":4269,"children":4271},{"id":4270},"events-dispatched",[4272],{"type":48,"value":4273},"Events dispatched",{"type":42,"tag":4275,"props":4276,"children":4277},"table",{},[4278,4297],{"type":42,"tag":4279,"props":4280,"children":4281},"thead",{},[4282],{"type":42,"tag":4283,"props":4284,"children":4285},"tr",{},[4286,4292],{"type":42,"tag":4287,"props":4288,"children":4289},"th",{},[4290],{"type":48,"value":4291},"Event",{"type":42,"tag":4287,"props":4293,"children":4294},{},[4295],{"type":48,"value":4296},"Trigger",{"type":42,"tag":4298,"props":4299,"children":4300},"tbody",{},[4301,4319,4336,4353,4370,4387,4404,4421,4438,4455,4471],{"type":42,"tag":4283,"props":4302,"children":4303},{},[4304,4314],{"type":42,"tag":4305,"props":4306,"children":4307},"td",{},[4308],{"type":42,"tag":77,"props":4309,"children":4311},{"className":4310},[],[4312],{"type":48,"value":4313},"customer.created",{"type":42,"tag":4305,"props":4315,"children":4316},{},[4317],{"type":48,"value":4318},"Customer created",{"type":42,"tag":4283,"props":4320,"children":4321},{},[4322,4331],{"type":42,"tag":4305,"props":4323,"children":4324},{},[4325],{"type":42,"tag":77,"props":4326,"children":4328},{"className":4327},[],[4329],{"type":48,"value":4330},"customer.updated",{"type":42,"tag":4305,"props":4332,"children":4333},{},[4334],{"type":48,"value":4335},"Customer updated",{"type":42,"tag":4283,"props":4337,"children":4338},{},[4339,4348],{"type":42,"tag":4305,"props":4340,"children":4341},{},[4342],{"type":42,"tag":77,"props":4343,"children":4345},{"className":4344},[],[4346],{"type":48,"value":4347},"customer.deleted",{"type":42,"tag":4305,"props":4349,"children":4350},{},[4351],{"type":48,"value":4352},"Customer deleted",{"type":42,"tag":4283,"props":4354,"children":4355},{},[4356,4365],{"type":42,"tag":4305,"props":4357,"children":4358},{},[4359],{"type":42,"tag":77,"props":4360,"children":4362},{"className":4361},[],[4363],{"type":48,"value":4364},"product.created",{"type":42,"tag":4305,"props":4366,"children":4367},{},[4368],{"type":48,"value":4369},"Product created",{"type":42,"tag":4283,"props":4371,"children":4372},{},[4373,4382],{"type":42,"tag":4305,"props":4374,"children":4375},{},[4376],{"type":42,"tag":77,"props":4377,"children":4379},{"className":4378},[],[4380],{"type":48,"value":4381},"price.created",{"type":42,"tag":4305,"props":4383,"children":4384},{},[4385],{"type":48,"value":4386},"Price created",{"type":42,"tag":4283,"props":4388,"children":4389},{},[4390,4399],{"type":42,"tag":4305,"props":4391,"children":4392},{},[4393],{"type":42,"tag":77,"props":4394,"children":4396},{"className":4395},[],[4397],{"type":48,"value":4398},"payment_intent.created",{"type":42,"tag":4305,"props":4400,"children":4401},{},[4402],{"type":48,"value":4403},"Payment intent created",{"type":42,"tag":4283,"props":4405,"children":4406},{},[4407,4416],{"type":42,"tag":4305,"props":4408,"children":4409},{},[4410],{"type":42,"tag":77,"props":4411,"children":4413},{"className":4412},[],[4414],{"type":48,"value":4415},"payment_intent.succeeded",{"type":42,"tag":4305,"props":4417,"children":4418},{},[4419],{"type":48,"value":4420},"Payment intent confirmed",{"type":42,"tag":4283,"props":4422,"children":4423},{},[4424,4433],{"type":42,"tag":4305,"props":4425,"children":4426},{},[4427],{"type":42,"tag":77,"props":4428,"children":4430},{"className":4429},[],[4431],{"type":48,"value":4432},"payment_intent.canceled",{"type":42,"tag":4305,"props":4434,"children":4435},{},[4436],{"type":48,"value":4437},"Payment intent canceled",{"type":42,"tag":4283,"props":4439,"children":4440},{},[4441,4450],{"type":42,"tag":4305,"props":4442,"children":4443},{},[4444],{"type":42,"tag":77,"props":4445,"children":4447},{"className":4446},[],[4448],{"type":48,"value":4449},"charge.succeeded",{"type":42,"tag":4305,"props":4451,"children":4452},{},[4453],{"type":48,"value":4454},"Payment intent confirmed (charge auto-created)",{"type":42,"tag":4283,"props":4456,"children":4457},{},[4458,4466],{"type":42,"tag":4305,"props":4459,"children":4460},{},[4461],{"type":42,"tag":77,"props":4462,"children":4464},{"className":4463},[],[4465],{"type":48,"value":3804},{"type":42,"tag":4305,"props":4467,"children":4468},{},[4469],{"type":48,"value":4470},"Checkout completed via hosted page",{"type":42,"tag":4283,"props":4472,"children":4473},{},[4474,4483],{"type":42,"tag":4305,"props":4475,"children":4476},{},[4477],{"type":42,"tag":77,"props":4478,"children":4480},{"className":4479},[],[4481],{"type":48,"value":4482},"checkout.session.expired",{"type":42,"tag":4305,"props":4484,"children":4485},{},[4486],{"type":48,"value":4487},"Checkout session expired",{"type":42,"tag":320,"props":4489,"children":4491},{"id":4490},"webhook-handler-example",[4492],{"type":48,"value":4493},"Webhook handler example",{"type":42,"tag":69,"props":4495,"children":4497},{"className":153,"code":4496,"language":155,"meta":74,"style":74},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fstripe\u002Froute.ts\nimport { NextResponse } from 'next\u002Fserver'\n\nexport async function POST(request: Request) {\n  const body = await request.json()\n  const event = body.type as string\n  const obj = body.data?.object\n\n  switch (event) {\n    case 'customer.created':\n      console.log('Customer created:', obj.id, obj.email)\n      break\n    case 'checkout.session.completed':\n      console.log('Checkout completed:', obj.id)\n      break\n    case 'payment_intent.succeeded':\n      console.log('Payment succeeded:', obj.id)\n      break\n    case 'charge.succeeded':\n      console.log('Charge succeeded:', obj.id)\n      break\n  }\n\n  return NextResponse.json({ received: true })\n}\n",[4498],{"type":42,"tag":77,"props":4499,"children":4500},{"__ignoreMap":74},[4501,4509,4546,4553,4598,4637,4675,4714,4721,4748,4772,4843,4851,4874,4926,4933,4956,5008,5015,5038,5090,5097,5105,5112,5162],{"type":42,"tag":81,"props":4502,"children":4503},{"class":83,"line":84},[4504],{"type":42,"tag":81,"props":4505,"children":4506},{"style":88},[4507],{"type":48,"value":4508},"\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fstripe\u002Froute.ts\n",{"type":42,"tag":81,"props":4510,"children":4511},{"class":83,"line":94},[4512,4516,4520,4525,4529,4533,4537,4542],{"type":42,"tag":81,"props":4513,"children":4514},{"style":165},[4515],{"type":48,"value":168},{"type":42,"tag":81,"props":4517,"children":4518},{"style":171},[4519],{"type":48,"value":174},{"type":42,"tag":81,"props":4521,"children":4522},{"style":177},[4523],{"type":48,"value":4524}," NextResponse",{"type":42,"tag":81,"props":4526,"children":4527},{"style":171},[4528],{"type":48,"value":185},{"type":42,"tag":81,"props":4530,"children":4531},{"style":165},[4532],{"type":48,"value":190},{"type":42,"tag":81,"props":4534,"children":4535},{"style":171},[4536],{"type":48,"value":195},{"type":42,"tag":81,"props":4538,"children":4539},{"style":104},[4540],{"type":48,"value":4541},"next\u002Fserver",{"type":42,"tag":81,"props":4543,"children":4544},{"style":171},[4545],{"type":48,"value":205},{"type":42,"tag":81,"props":4547,"children":4548},{"class":83,"line":120},[4549],{"type":42,"tag":81,"props":4550,"children":4551},{"emptyLinePlaceholder":124},[4552],{"type":48,"value":127},{"type":42,"tag":81,"props":4554,"children":4555},{"class":83,"line":130},[4556,4560,4565,4569,4573,4577,4582,4586,4590,4594],{"type":42,"tag":81,"props":4557,"children":4558},{"style":165},[4559],{"type":48,"value":670},{"type":42,"tag":81,"props":4561,"children":4562},{"style":218},[4563],{"type":48,"value":4564}," async",{"type":42,"tag":81,"props":4566,"children":4567},{"style":218},[4568],{"type":48,"value":1857},{"type":42,"tag":81,"props":4570,"children":4571},{"style":239},[4572],{"type":48,"value":1179},{"type":42,"tag":81,"props":4574,"children":4575},{"style":171},[4576],{"type":48,"value":246},{"type":42,"tag":81,"props":4578,"children":4579},{"style":1869},[4580],{"type":48,"value":4581},"request",{"type":42,"tag":81,"props":4583,"children":4584},{"style":171},[4585],{"type":48,"value":262},{"type":42,"tag":81,"props":4587,"children":4588},{"style":98},[4589],{"type":48,"value":1881},{"type":42,"tag":81,"props":4591,"children":4592},{"style":171},[4593],{"type":48,"value":1010},{"type":42,"tag":81,"props":4595,"children":4596},{"style":171},[4597],{"type":48,"value":432},{"type":42,"tag":81,"props":4599,"children":4600},{"class":83,"line":139},[4601,4605,4610,4614,4618,4623,4627,4632],{"type":42,"tag":81,"props":4602,"children":4603},{"style":218},[4604],{"type":48,"value":1958},{"type":42,"tag":81,"props":4606,"children":4607},{"style":177},[4608],{"type":48,"value":4609}," body",{"type":42,"tag":81,"props":4611,"children":4612},{"style":171},[4613],{"type":48,"value":1215},{"type":42,"tag":81,"props":4615,"children":4616},{"style":165},[4617],{"type":48,"value":236},{"type":42,"tag":81,"props":4619,"children":4620},{"style":177},[4621],{"type":48,"value":4622}," request",{"type":42,"tag":81,"props":4624,"children":4625},{"style":171},[4626],{"type":48,"value":408},{"type":42,"tag":81,"props":4628,"children":4629},{"style":239},[4630],{"type":48,"value":4631},"json",{"type":42,"tag":81,"props":4633,"children":4634},{"style":254},[4635],{"type":48,"value":4636},"()\n",{"type":42,"tag":81,"props":4638,"children":4639},{"class":83,"line":494},[4640,4644,4649,4653,4657,4661,4666,4670],{"type":42,"tag":81,"props":4641,"children":4642},{"style":218},[4643],{"type":48,"value":1958},{"type":42,"tag":81,"props":4645,"children":4646},{"style":177},[4647],{"type":48,"value":4648}," event",{"type":42,"tag":81,"props":4650,"children":4651},{"style":171},[4652],{"type":48,"value":1215},{"type":42,"tag":81,"props":4654,"children":4655},{"style":177},[4656],{"type":48,"value":4609},{"type":42,"tag":81,"props":4658,"children":4659},{"style":171},[4660],{"type":48,"value":408},{"type":42,"tag":81,"props":4662,"children":4663},{"style":177},[4664],{"type":48,"value":4665},"type",{"type":42,"tag":81,"props":4667,"children":4668},{"style":165},[4669],{"type":48,"value":1122},{"type":42,"tag":81,"props":4671,"children":4672},{"style":98},[4673],{"type":48,"value":4674}," string\n",{"type":42,"tag":81,"props":4676,"children":4677},{"class":83,"line":515},[4678,4682,4687,4691,4695,4699,4704,4709],{"type":42,"tag":81,"props":4679,"children":4680},{"style":218},[4681],{"type":48,"value":1958},{"type":42,"tag":81,"props":4683,"children":4684},{"style":177},[4685],{"type":48,"value":4686}," obj",{"type":42,"tag":81,"props":4688,"children":4689},{"style":171},[4690],{"type":48,"value":1215},{"type":42,"tag":81,"props":4692,"children":4693},{"style":177},[4694],{"type":48,"value":4609},{"type":42,"tag":81,"props":4696,"children":4697},{"style":171},[4698],{"type":48,"value":408},{"type":42,"tag":81,"props":4700,"children":4701},{"style":177},[4702],{"type":48,"value":4703},"data",{"type":42,"tag":81,"props":4705,"children":4706},{"style":171},[4707],{"type":48,"value":4708},"?.",{"type":42,"tag":81,"props":4710,"children":4711},{"style":177},[4712],{"type":48,"value":4713},"object\n",{"type":42,"tag":81,"props":4715,"children":4716},{"class":83,"line":545},[4717],{"type":42,"tag":81,"props":4718,"children":4719},{"emptyLinePlaceholder":124},[4720],{"type":48,"value":127},{"type":42,"tag":81,"props":4722,"children":4723},{"class":83,"line":977},[4724,4729,4734,4739,4744],{"type":42,"tag":81,"props":4725,"children":4726},{"style":165},[4727],{"type":48,"value":4728},"  switch",{"type":42,"tag":81,"props":4730,"children":4731},{"style":254},[4732],{"type":48,"value":4733}," (",{"type":42,"tag":81,"props":4735,"children":4736},{"style":177},[4737],{"type":48,"value":4738},"event",{"type":42,"tag":81,"props":4740,"children":4741},{"style":254},[4742],{"type":48,"value":4743},") ",{"type":42,"tag":81,"props":4745,"children":4746},{"style":171},[4747],{"type":48,"value":688},{"type":42,"tag":81,"props":4749,"children":4750},{"class":83,"line":1017},[4751,4756,4760,4764,4768],{"type":42,"tag":81,"props":4752,"children":4753},{"style":165},[4754],{"type":48,"value":4755},"    case",{"type":42,"tag":81,"props":4757,"children":4758},{"style":171},[4759],{"type":48,"value":195},{"type":42,"tag":81,"props":4761,"children":4762},{"style":104},[4763],{"type":48,"value":4313},{"type":42,"tag":81,"props":4765,"children":4766},{"style":171},[4767],{"type":48,"value":275},{"type":42,"tag":81,"props":4769,"children":4770},{"style":171},[4771],{"type":48,"value":2668},{"type":42,"tag":81,"props":4773,"children":4774},{"class":83,"line":1045},[4775,4780,4784,4789,4793,4797,4802,4806,4810,4814,4818,4822,4826,4830,4834,4839],{"type":42,"tag":81,"props":4776,"children":4777},{"style":177},[4778],{"type":48,"value":4779},"      console",{"type":42,"tag":81,"props":4781,"children":4782},{"style":171},[4783],{"type":48,"value":408},{"type":42,"tag":81,"props":4785,"children":4786},{"style":239},[4787],{"type":48,"value":4788},"log",{"type":42,"tag":81,"props":4790,"children":4791},{"style":254},[4792],{"type":48,"value":246},{"type":42,"tag":81,"props":4794,"children":4795},{"style":171},[4796],{"type":48,"value":275},{"type":42,"tag":81,"props":4798,"children":4799},{"style":104},[4800],{"type":48,"value":4801},"Customer created:",{"type":42,"tag":81,"props":4803,"children":4804},{"style":171},[4805],{"type":48,"value":275},{"type":42,"tag":81,"props":4807,"children":4808},{"style":171},[4809],{"type":48,"value":280},{"type":42,"tag":81,"props":4811,"children":4812},{"style":177},[4813],{"type":48,"value":4686},{"type":42,"tag":81,"props":4815,"children":4816},{"style":171},[4817],{"type":48,"value":408},{"type":42,"tag":81,"props":4819,"children":4820},{"style":177},[4821],{"type":48,"value":2645},{"type":42,"tag":81,"props":4823,"children":4824},{"style":171},[4825],{"type":48,"value":280},{"type":42,"tag":81,"props":4827,"children":4828},{"style":177},[4829],{"type":48,"value":4686},{"type":42,"tag":81,"props":4831,"children":4832},{"style":171},[4833],{"type":48,"value":408},{"type":42,"tag":81,"props":4835,"children":4836},{"style":177},[4837],{"type":48,"value":4838},"email",{"type":42,"tag":81,"props":4840,"children":4841},{"style":254},[4842],{"type":48,"value":304},{"type":42,"tag":81,"props":4844,"children":4845},{"class":83,"line":1403},[4846],{"type":42,"tag":81,"props":4847,"children":4848},{"style":165},[4849],{"type":48,"value":4850},"      break\n",{"type":42,"tag":81,"props":4852,"children":4853},{"class":83,"line":1416},[4854,4858,4862,4866,4870],{"type":42,"tag":81,"props":4855,"children":4856},{"style":165},[4857],{"type":48,"value":4755},{"type":42,"tag":81,"props":4859,"children":4860},{"style":171},[4861],{"type":48,"value":195},{"type":42,"tag":81,"props":4863,"children":4864},{"style":104},[4865],{"type":48,"value":3804},{"type":42,"tag":81,"props":4867,"children":4868},{"style":171},[4869],{"type":48,"value":275},{"type":42,"tag":81,"props":4871,"children":4872},{"style":171},[4873],{"type":48,"value":2668},{"type":42,"tag":81,"props":4875,"children":4876},{"class":83,"line":1433},[4877,4881,4885,4889,4893,4897,4902,4906,4910,4914,4918,4922],{"type":42,"tag":81,"props":4878,"children":4879},{"style":177},[4880],{"type":48,"value":4779},{"type":42,"tag":81,"props":4882,"children":4883},{"style":171},[4884],{"type":48,"value":408},{"type":42,"tag":81,"props":4886,"children":4887},{"style":239},[4888],{"type":48,"value":4788},{"type":42,"tag":81,"props":4890,"children":4891},{"style":254},[4892],{"type":48,"value":246},{"type":42,"tag":81,"props":4894,"children":4895},{"style":171},[4896],{"type":48,"value":275},{"type":42,"tag":81,"props":4898,"children":4899},{"style":104},[4900],{"type":48,"value":4901},"Checkout completed:",{"type":42,"tag":81,"props":4903,"children":4904},{"style":171},[4905],{"type":48,"value":275},{"type":42,"tag":81,"props":4907,"children":4908},{"style":171},[4909],{"type":48,"value":280},{"type":42,"tag":81,"props":4911,"children":4912},{"style":177},[4913],{"type":48,"value":4686},{"type":42,"tag":81,"props":4915,"children":4916},{"style":171},[4917],{"type":48,"value":408},{"type":42,"tag":81,"props":4919,"children":4920},{"style":177},[4921],{"type":48,"value":2645},{"type":42,"tag":81,"props":4923,"children":4924},{"style":254},[4925],{"type":48,"value":304},{"type":42,"tag":81,"props":4927,"children":4928},{"class":83,"line":1535},[4929],{"type":42,"tag":81,"props":4930,"children":4931},{"style":165},[4932],{"type":48,"value":4850},{"type":42,"tag":81,"props":4934,"children":4935},{"class":83,"line":1547},[4936,4940,4944,4948,4952],{"type":42,"tag":81,"props":4937,"children":4938},{"style":165},[4939],{"type":48,"value":4755},{"type":42,"tag":81,"props":4941,"children":4942},{"style":171},[4943],{"type":48,"value":195},{"type":42,"tag":81,"props":4945,"children":4946},{"style":104},[4947],{"type":48,"value":4415},{"type":42,"tag":81,"props":4949,"children":4950},{"style":171},[4951],{"type":48,"value":275},{"type":42,"tag":81,"props":4953,"children":4954},{"style":171},[4955],{"type":48,"value":2668},{"type":42,"tag":81,"props":4957,"children":4958},{"class":83,"line":1564},[4959,4963,4967,4971,4975,4979,4984,4988,4992,4996,5000,5004],{"type":42,"tag":81,"props":4960,"children":4961},{"style":177},[4962],{"type":48,"value":4779},{"type":42,"tag":81,"props":4964,"children":4965},{"style":171},[4966],{"type":48,"value":408},{"type":42,"tag":81,"props":4968,"children":4969},{"style":239},[4970],{"type":48,"value":4788},{"type":42,"tag":81,"props":4972,"children":4973},{"style":254},[4974],{"type":48,"value":246},{"type":42,"tag":81,"props":4976,"children":4977},{"style":171},[4978],{"type":48,"value":275},{"type":42,"tag":81,"props":4980,"children":4981},{"style":104},[4982],{"type":48,"value":4983},"Payment succeeded:",{"type":42,"tag":81,"props":4985,"children":4986},{"style":171},[4987],{"type":48,"value":275},{"type":42,"tag":81,"props":4989,"children":4990},{"style":171},[4991],{"type":48,"value":280},{"type":42,"tag":81,"props":4993,"children":4994},{"style":177},[4995],{"type":48,"value":4686},{"type":42,"tag":81,"props":4997,"children":4998},{"style":171},[4999],{"type":48,"value":408},{"type":42,"tag":81,"props":5001,"children":5002},{"style":177},[5003],{"type":48,"value":2645},{"type":42,"tag":81,"props":5005,"children":5006},{"style":254},[5007],{"type":48,"value":304},{"type":42,"tag":81,"props":5009,"children":5010},{"class":83,"line":1573},[5011],{"type":42,"tag":81,"props":5012,"children":5013},{"style":165},[5014],{"type":48,"value":4850},{"type":42,"tag":81,"props":5016,"children":5017},{"class":83,"line":1653},[5018,5022,5026,5030,5034],{"type":42,"tag":81,"props":5019,"children":5020},{"style":165},[5021],{"type":48,"value":4755},{"type":42,"tag":81,"props":5023,"children":5024},{"style":171},[5025],{"type":48,"value":195},{"type":42,"tag":81,"props":5027,"children":5028},{"style":104},[5029],{"type":48,"value":4449},{"type":42,"tag":81,"props":5031,"children":5032},{"style":171},[5033],{"type":48,"value":275},{"type":42,"tag":81,"props":5035,"children":5036},{"style":171},[5037],{"type":48,"value":2668},{"type":42,"tag":81,"props":5039,"children":5040},{"class":83,"line":1693},[5041,5045,5049,5053,5057,5061,5066,5070,5074,5078,5082,5086],{"type":42,"tag":81,"props":5042,"children":5043},{"style":177},[5044],{"type":48,"value":4779},{"type":42,"tag":81,"props":5046,"children":5047},{"style":171},[5048],{"type":48,"value":408},{"type":42,"tag":81,"props":5050,"children":5051},{"style":239},[5052],{"type":48,"value":4788},{"type":42,"tag":81,"props":5054,"children":5055},{"style":254},[5056],{"type":48,"value":246},{"type":42,"tag":81,"props":5058,"children":5059},{"style":171},[5060],{"type":48,"value":275},{"type":42,"tag":81,"props":5062,"children":5063},{"style":104},[5064],{"type":48,"value":5065},"Charge succeeded:",{"type":42,"tag":81,"props":5067,"children":5068},{"style":171},[5069],{"type":48,"value":275},{"type":42,"tag":81,"props":5071,"children":5072},{"style":171},[5073],{"type":48,"value":280},{"type":42,"tag":81,"props":5075,"children":5076},{"style":177},[5077],{"type":48,"value":4686},{"type":42,"tag":81,"props":5079,"children":5080},{"style":171},[5081],{"type":48,"value":408},{"type":42,"tag":81,"props":5083,"children":5084},{"style":177},[5085],{"type":48,"value":2645},{"type":42,"tag":81,"props":5087,"children":5088},{"style":254},[5089],{"type":48,"value":304},{"type":42,"tag":81,"props":5091,"children":5092},{"class":83,"line":1702},[5093],{"type":42,"tag":81,"props":5094,"children":5095},{"style":165},[5096],{"type":48,"value":4850},{"type":42,"tag":81,"props":5098,"children":5099},{"class":83,"line":1714},[5100],{"type":42,"tag":81,"props":5101,"children":5102},{"style":171},[5103],{"type":48,"value":5104},"  }\n",{"type":42,"tag":81,"props":5106,"children":5107},{"class":83,"line":1723},[5108],{"type":42,"tag":81,"props":5109,"children":5110},{"emptyLinePlaceholder":124},[5111],{"type":48,"value":127},{"type":42,"tag":81,"props":5113,"children":5114},{"class":83,"line":1732},[5115,5119,5123,5127,5131,5135,5139,5144,5148,5154,5158],{"type":42,"tag":81,"props":5116,"children":5117},{"style":165},[5118],{"type":48,"value":2336},{"type":42,"tag":81,"props":5120,"children":5121},{"style":177},[5122],{"type":48,"value":4524},{"type":42,"tag":81,"props":5124,"children":5125},{"style":171},[5126],{"type":48,"value":408},{"type":42,"tag":81,"props":5128,"children":5129},{"style":239},[5130],{"type":48,"value":4631},{"type":42,"tag":81,"props":5132,"children":5133},{"style":254},[5134],{"type":48,"value":246},{"type":42,"tag":81,"props":5136,"children":5137},{"style":171},[5138],{"type":48,"value":251},{"type":42,"tag":81,"props":5140,"children":5141},{"style":254},[5142],{"type":48,"value":5143}," received",{"type":42,"tag":81,"props":5145,"children":5146},{"style":171},[5147],{"type":48,"value":262},{"type":42,"tag":81,"props":5149,"children":5151},{"style":5150},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[5152],{"type":48,"value":5153}," true",{"type":42,"tag":81,"props":5155,"children":5156},{"style":171},[5157],{"type":48,"value":185},{"type":42,"tag":81,"props":5159,"children":5160},{"style":254},[5161],{"type":48,"value":304},{"type":42,"tag":81,"props":5163,"children":5164},{"class":83,"line":1740},[5165],{"type":42,"tag":81,"props":5166,"children":5167},{"style":171},[5168],{"type":48,"value":2474},{"type":42,"tag":62,"props":5170,"children":5172},{"id":5171},"common-patterns",[5173],{"type":48,"value":5174},"Common Patterns",{"type":42,"tag":320,"props":5176,"children":5178},{"id":5177},"checkout-flow-embedded-nextjs",[5179],{"type":48,"value":5180},"Checkout Flow (embedded Next.js)",{"type":42,"tag":69,"props":5182,"children":5184},{"className":153,"code":5183,"language":155,"meta":74,"style":74},"\u002F\u002F Server action\nconst customer = await stripe.customers.create({\n  email: 'shopper@example.com',\n  name: 'Demo Shopper',\n})\n\nconst session = await stripe.checkout.sessions.create({\n  mode: 'payment',\n  customer: customer.id,\n  line_items: [{ price: 'price_widget', quantity: 2 }],\n  success_url: `${origin}\u002Fsuccess?session_id={CHECKOUT_SESSION_ID}`,\n  cancel_url: `${origin}\u002Fcart`,\n})\n\nredirect(session.url!)\n",[5185],{"type":42,"tag":77,"props":5186,"children":5187},{"__ignoreMap":74},[5188,5196,5245,5274,5303,5314,5321,5379,5408,5437,5508,5546,5583,5594,5601],{"type":42,"tag":81,"props":5189,"children":5190},{"class":83,"line":84},[5191],{"type":42,"tag":81,"props":5192,"children":5193},{"style":88},[5194],{"type":48,"value":5195},"\u002F\u002F Server action\n",{"type":42,"tag":81,"props":5197,"children":5198},{"class":83,"line":94},[5199,5203,5208,5212,5216,5220,5224,5228,5232,5237,5241],{"type":42,"tag":81,"props":5200,"children":5201},{"style":218},[5202],{"type":48,"value":221},{"type":42,"tag":81,"props":5204,"children":5205},{"style":177},[5206],{"type":48,"value":5207}," customer ",{"type":42,"tag":81,"props":5209,"children":5210},{"style":171},[5211],{"type":48,"value":231},{"type":42,"tag":81,"props":5213,"children":5214},{"style":165},[5215],{"type":48,"value":236},{"type":42,"tag":81,"props":5217,"children":5218},{"style":177},[5219],{"type":48,"value":1276},{"type":42,"tag":81,"props":5221,"children":5222},{"style":171},[5223],{"type":48,"value":408},{"type":42,"tag":81,"props":5225,"children":5226},{"style":177},[5227],{"type":48,"value":2994},{"type":42,"tag":81,"props":5229,"children":5230},{"style":171},[5231],{"type":48,"value":408},{"type":42,"tag":81,"props":5233,"children":5234},{"style":239},[5235],{"type":48,"value":5236},"create",{"type":42,"tag":81,"props":5238,"children":5239},{"style":177},[5240],{"type":48,"value":246},{"type":42,"tag":81,"props":5242,"children":5243},{"style":171},[5244],{"type":48,"value":688},{"type":42,"tag":81,"props":5246,"children":5247},{"class":83,"line":120},[5248,5253,5257,5261,5266,5270],{"type":42,"tag":81,"props":5249,"children":5250},{"style":254},[5251],{"type":48,"value":5252},"  email",{"type":42,"tag":81,"props":5254,"children":5255},{"style":171},[5256],{"type":48,"value":262},{"type":42,"tag":81,"props":5258,"children":5259},{"style":171},[5260],{"type":48,"value":195},{"type":42,"tag":81,"props":5262,"children":5263},{"style":104},[5264],{"type":48,"value":5265},"shopper@example.com",{"type":42,"tag":81,"props":5267,"children":5268},{"style":171},[5269],{"type":48,"value":275},{"type":42,"tag":81,"props":5271,"children":5272},{"style":171},[5273],{"type":48,"value":462},{"type":42,"tag":81,"props":5275,"children":5276},{"class":83,"line":130},[5277,5282,5286,5290,5295,5299],{"type":42,"tag":81,"props":5278,"children":5279},{"style":254},[5280],{"type":48,"value":5281},"  name",{"type":42,"tag":81,"props":5283,"children":5284},{"style":171},[5285],{"type":48,"value":262},{"type":42,"tag":81,"props":5287,"children":5288},{"style":171},[5289],{"type":48,"value":195},{"type":42,"tag":81,"props":5291,"children":5292},{"style":104},[5293],{"type":48,"value":5294},"Demo Shopper",{"type":42,"tag":81,"props":5296,"children":5297},{"style":171},[5298],{"type":48,"value":275},{"type":42,"tag":81,"props":5300,"children":5301},{"style":171},[5302],{"type":48,"value":462},{"type":42,"tag":81,"props":5304,"children":5305},{"class":83,"line":139},[5306,5310],{"type":42,"tag":81,"props":5307,"children":5308},{"style":171},[5309],{"type":48,"value":551},{"type":42,"tag":81,"props":5311,"children":5312},{"style":177},[5313],{"type":48,"value":304},{"type":42,"tag":81,"props":5315,"children":5316},{"class":83,"line":494},[5317],{"type":42,"tag":81,"props":5318,"children":5319},{"emptyLinePlaceholder":124},[5320],{"type":48,"value":127},{"type":42,"tag":81,"props":5322,"children":5323},{"class":83,"line":515},[5324,5328,5333,5337,5341,5345,5349,5354,5358,5363,5367,5371,5375],{"type":42,"tag":81,"props":5325,"children":5326},{"style":218},[5327],{"type":48,"value":221},{"type":42,"tag":81,"props":5329,"children":5330},{"style":177},[5331],{"type":48,"value":5332}," session ",{"type":42,"tag":81,"props":5334,"children":5335},{"style":171},[5336],{"type":48,"value":231},{"type":42,"tag":81,"props":5338,"children":5339},{"style":165},[5340],{"type":48,"value":236},{"type":42,"tag":81,"props":5342,"children":5343},{"style":177},[5344],{"type":48,"value":1276},{"type":42,"tag":81,"props":5346,"children":5347},{"style":171},[5348],{"type":48,"value":408},{"type":42,"tag":81,"props":5350,"children":5351},{"style":177},[5352],{"type":48,"value":5353},"checkout",{"type":42,"tag":81,"props":5355,"children":5356},{"style":171},[5357],{"type":48,"value":408},{"type":42,"tag":81,"props":5359,"children":5360},{"style":177},[5361],{"type":48,"value":5362},"sessions",{"type":42,"tag":81,"props":5364,"children":5365},{"style":171},[5366],{"type":48,"value":408},{"type":42,"tag":81,"props":5368,"children":5369},{"style":239},[5370],{"type":48,"value":5236},{"type":42,"tag":81,"props":5372,"children":5373},{"style":177},[5374],{"type":48,"value":246},{"type":42,"tag":81,"props":5376,"children":5377},{"style":171},[5378],{"type":48,"value":688},{"type":42,"tag":81,"props":5380,"children":5381},{"class":83,"line":545},[5382,5387,5391,5395,5400,5404],{"type":42,"tag":81,"props":5383,"children":5384},{"style":254},[5385],{"type":48,"value":5386},"  mode",{"type":42,"tag":81,"props":5388,"children":5389},{"style":171},[5390],{"type":48,"value":262},{"type":42,"tag":81,"props":5392,"children":5393},{"style":171},[5394],{"type":48,"value":195},{"type":42,"tag":81,"props":5396,"children":5397},{"style":104},[5398],{"type":48,"value":5399},"payment",{"type":42,"tag":81,"props":5401,"children":5402},{"style":171},[5403],{"type":48,"value":275},{"type":42,"tag":81,"props":5405,"children":5406},{"style":171},[5407],{"type":48,"value":462},{"type":42,"tag":81,"props":5409,"children":5410},{"class":83,"line":977},[5411,5416,5420,5425,5429,5433],{"type":42,"tag":81,"props":5412,"children":5413},{"style":254},[5414],{"type":48,"value":5415},"  customer",{"type":42,"tag":81,"props":5417,"children":5418},{"style":171},[5419],{"type":48,"value":262},{"type":42,"tag":81,"props":5421,"children":5422},{"style":177},[5423],{"type":48,"value":5424}," customer",{"type":42,"tag":81,"props":5426,"children":5427},{"style":171},[5428],{"type":48,"value":408},{"type":42,"tag":81,"props":5430,"children":5431},{"style":177},[5432],{"type":48,"value":2645},{"type":42,"tag":81,"props":5434,"children":5435},{"style":171},[5436],{"type":48,"value":462},{"type":42,"tag":81,"props":5438,"children":5439},{"class":83,"line":1017},[5440,5445,5449,5453,5457,5462,5466,5470,5474,5478,5482,5487,5491,5496,5500,5504],{"type":42,"tag":81,"props":5441,"children":5442},{"style":254},[5443],{"type":48,"value":5444},"  line_items",{"type":42,"tag":81,"props":5446,"children":5447},{"style":171},[5448],{"type":48,"value":262},{"type":42,"tag":81,"props":5450,"children":5451},{"style":177},[5452],{"type":48,"value":1668},{"type":42,"tag":81,"props":5454,"children":5455},{"style":171},[5456],{"type":48,"value":251},{"type":42,"tag":81,"props":5458,"children":5459},{"style":254},[5460],{"type":48,"value":5461}," price",{"type":42,"tag":81,"props":5463,"children":5464},{"style":171},[5465],{"type":48,"value":262},{"type":42,"tag":81,"props":5467,"children":5468},{"style":171},[5469],{"type":48,"value":195},{"type":42,"tag":81,"props":5471,"children":5472},{"style":104},[5473],{"type":48,"value":1455},{"type":42,"tag":81,"props":5475,"children":5476},{"style":171},[5477],{"type":48,"value":275},{"type":42,"tag":81,"props":5479,"children":5480},{"style":171},[5481],{"type":48,"value":280},{"type":42,"tag":81,"props":5483,"children":5484},{"style":254},[5485],{"type":48,"value":5486}," quantity",{"type":42,"tag":81,"props":5488,"children":5489},{"style":171},[5490],{"type":48,"value":262},{"type":42,"tag":81,"props":5492,"children":5493},{"style":292},[5494],{"type":48,"value":5495}," 2",{"type":42,"tag":81,"props":5497,"children":5498},{"style":171},[5499],{"type":48,"value":185},{"type":42,"tag":81,"props":5501,"children":5502},{"style":177},[5503],{"type":48,"value":1686},{"type":42,"tag":81,"props":5505,"children":5506},{"style":171},[5507],{"type":48,"value":462},{"type":42,"tag":81,"props":5509,"children":5510},{"class":83,"line":1045},[5511,5516,5520,5524,5529,5533,5538,5542],{"type":42,"tag":81,"props":5512,"children":5513},{"style":254},[5514],{"type":48,"value":5515},"  success_url",{"type":42,"tag":81,"props":5517,"children":5518},{"style":171},[5519],{"type":48,"value":262},{"type":42,"tag":81,"props":5521,"children":5522},{"style":171},[5523],{"type":48,"value":2058},{"type":42,"tag":81,"props":5525,"children":5526},{"style":177},[5527],{"type":48,"value":5528},"origin",{"type":42,"tag":81,"props":5530,"children":5531},{"style":171},[5532],{"type":48,"value":551},{"type":42,"tag":81,"props":5534,"children":5535},{"style":104},[5536],{"type":48,"value":5537},"\u002Fsuccess?session_id={CHECKOUT_SESSION_ID}",{"type":42,"tag":81,"props":5539,"children":5540},{"style":171},[5541],{"type":48,"value":1646},{"type":42,"tag":81,"props":5543,"children":5544},{"style":171},[5545],{"type":48,"value":462},{"type":42,"tag":81,"props":5547,"children":5548},{"class":83,"line":1403},[5549,5554,5558,5562,5566,5570,5575,5579],{"type":42,"tag":81,"props":5550,"children":5551},{"style":254},[5552],{"type":48,"value":5553},"  cancel_url",{"type":42,"tag":81,"props":5555,"children":5556},{"style":171},[5557],{"type":48,"value":262},{"type":42,"tag":81,"props":5559,"children":5560},{"style":171},[5561],{"type":48,"value":2058},{"type":42,"tag":81,"props":5563,"children":5564},{"style":177},[5565],{"type":48,"value":5528},{"type":42,"tag":81,"props":5567,"children":5568},{"style":171},[5569],{"type":48,"value":551},{"type":42,"tag":81,"props":5571,"children":5572},{"style":104},[5573],{"type":48,"value":5574},"\u002Fcart",{"type":42,"tag":81,"props":5576,"children":5577},{"style":171},[5578],{"type":48,"value":1646},{"type":42,"tag":81,"props":5580,"children":5581},{"style":171},[5582],{"type":48,"value":462},{"type":42,"tag":81,"props":5584,"children":5585},{"class":83,"line":1416},[5586,5590],{"type":42,"tag":81,"props":5587,"children":5588},{"style":171},[5589],{"type":48,"value":551},{"type":42,"tag":81,"props":5591,"children":5592},{"style":177},[5593],{"type":48,"value":304},{"type":42,"tag":81,"props":5595,"children":5596},{"class":83,"line":1433},[5597],{"type":42,"tag":81,"props":5598,"children":5599},{"emptyLinePlaceholder":124},[5600],{"type":48,"value":127},{"type":42,"tag":81,"props":5602,"children":5603},{"class":83,"line":1535},[5604,5609,5614,5618,5622,5627],{"type":42,"tag":81,"props":5605,"children":5606},{"style":239},[5607],{"type":48,"value":5608},"redirect",{"type":42,"tag":81,"props":5610,"children":5611},{"style":177},[5612],{"type":48,"value":5613},"(session",{"type":42,"tag":81,"props":5615,"children":5616},{"style":171},[5617],{"type":48,"value":408},{"type":42,"tag":81,"props":5619,"children":5620},{"style":177},[5621],{"type":48,"value":2033},{"type":42,"tag":81,"props":5623,"children":5624},{"style":171},[5625],{"type":48,"value":5626},"!",{"type":42,"tag":81,"props":5628,"children":5629},{"style":177},[5630],{"type":48,"value":304},{"type":42,"tag":320,"props":5632,"children":5634},{"id":5633},"retrieve-session-on-success-page",[5635],{"type":48,"value":5636},"Retrieve Session on Success Page",{"type":42,"tag":69,"props":5638,"children":5640},{"className":153,"code":5639,"language":155,"meta":74,"style":74},"const session = await stripe.checkout.sessions.retrieve(session_id)\nconst customer = await stripe.customers.retrieve(session.customer as string)\n\nconsole.log(session.payment_status) \u002F\u002F 'paid'\nconsole.log(customer.name)          \u002F\u002F 'Demo Shopper'\n",[5641],{"type":42,"tag":77,"props":5642,"children":5643},{"__ignoreMap":74},[5644,5697,5762,5769,5803],{"type":42,"tag":81,"props":5645,"children":5646},{"class":83,"line":84},[5647,5651,5655,5659,5663,5667,5671,5675,5679,5683,5687,5692],{"type":42,"tag":81,"props":5648,"children":5649},{"style":218},[5650],{"type":48,"value":221},{"type":42,"tag":81,"props":5652,"children":5653},{"style":177},[5654],{"type":48,"value":5332},{"type":42,"tag":81,"props":5656,"children":5657},{"style":171},[5658],{"type":48,"value":231},{"type":42,"tag":81,"props":5660,"children":5661},{"style":165},[5662],{"type":48,"value":236},{"type":42,"tag":81,"props":5664,"children":5665},{"style":177},[5666],{"type":48,"value":1276},{"type":42,"tag":81,"props":5668,"children":5669},{"style":171},[5670],{"type":48,"value":408},{"type":42,"tag":81,"props":5672,"children":5673},{"style":177},[5674],{"type":48,"value":5353},{"type":42,"tag":81,"props":5676,"children":5677},{"style":171},[5678],{"type":48,"value":408},{"type":42,"tag":81,"props":5680,"children":5681},{"style":177},[5682],{"type":48,"value":5362},{"type":42,"tag":81,"props":5684,"children":5685},{"style":171},[5686],{"type":48,"value":408},{"type":42,"tag":81,"props":5688,"children":5689},{"style":239},[5690],{"type":48,"value":5691},"retrieve",{"type":42,"tag":81,"props":5693,"children":5694},{"style":177},[5695],{"type":48,"value":5696},"(session_id)\n",{"type":42,"tag":81,"props":5698,"children":5699},{"class":83,"line":94},[5700,5704,5708,5712,5716,5720,5724,5728,5732,5736,5740,5744,5749,5754,5758],{"type":42,"tag":81,"props":5701,"children":5702},{"style":218},[5703],{"type":48,"value":221},{"type":42,"tag":81,"props":5705,"children":5706},{"style":177},[5707],{"type":48,"value":5207},{"type":42,"tag":81,"props":5709,"children":5710},{"style":171},[5711],{"type":48,"value":231},{"type":42,"tag":81,"props":5713,"children":5714},{"style":165},[5715],{"type":48,"value":236},{"type":42,"tag":81,"props":5717,"children":5718},{"style":177},[5719],{"type":48,"value":1276},{"type":42,"tag":81,"props":5721,"children":5722},{"style":171},[5723],{"type":48,"value":408},{"type":42,"tag":81,"props":5725,"children":5726},{"style":177},[5727],{"type":48,"value":2994},{"type":42,"tag":81,"props":5729,"children":5730},{"style":171},[5731],{"type":48,"value":408},{"type":42,"tag":81,"props":5733,"children":5734},{"style":239},[5735],{"type":48,"value":5691},{"type":42,"tag":81,"props":5737,"children":5738},{"style":177},[5739],{"type":48,"value":5613},{"type":42,"tag":81,"props":5741,"children":5742},{"style":171},[5743],{"type":48,"value":408},{"type":42,"tag":81,"props":5745,"children":5746},{"style":177},[5747],{"type":48,"value":5748},"customer ",{"type":42,"tag":81,"props":5750,"children":5751},{"style":165},[5752],{"type":48,"value":5753},"as",{"type":42,"tag":81,"props":5755,"children":5756},{"style":98},[5757],{"type":48,"value":1931},{"type":42,"tag":81,"props":5759,"children":5760},{"style":177},[5761],{"type":48,"value":304},{"type":42,"tag":81,"props":5763,"children":5764},{"class":83,"line":120},[5765],{"type":42,"tag":81,"props":5766,"children":5767},{"emptyLinePlaceholder":124},[5768],{"type":48,"value":127},{"type":42,"tag":81,"props":5770,"children":5771},{"class":83,"line":130},[5772,5777,5781,5785,5789,5793,5798],{"type":42,"tag":81,"props":5773,"children":5774},{"style":177},[5775],{"type":48,"value":5776},"console",{"type":42,"tag":81,"props":5778,"children":5779},{"style":171},[5780],{"type":48,"value":408},{"type":42,"tag":81,"props":5782,"children":5783},{"style":239},[5784],{"type":48,"value":4788},{"type":42,"tag":81,"props":5786,"children":5787},{"style":177},[5788],{"type":48,"value":5613},{"type":42,"tag":81,"props":5790,"children":5791},{"style":171},[5792],{"type":48,"value":408},{"type":42,"tag":81,"props":5794,"children":5795},{"style":177},[5796],{"type":48,"value":5797},"payment_status) ",{"type":42,"tag":81,"props":5799,"children":5800},{"style":88},[5801],{"type":48,"value":5802},"\u002F\u002F 'paid'\n",{"type":42,"tag":81,"props":5804,"children":5805},{"class":83,"line":139},[5806,5810,5814,5818,5823,5827,5832],{"type":42,"tag":81,"props":5807,"children":5808},{"style":177},[5809],{"type":48,"value":5776},{"type":42,"tag":81,"props":5811,"children":5812},{"style":171},[5813],{"type":48,"value":408},{"type":42,"tag":81,"props":5815,"children":5816},{"style":239},[5817],{"type":48,"value":4788},{"type":42,"tag":81,"props":5819,"children":5820},{"style":177},[5821],{"type":48,"value":5822},"(customer",{"type":42,"tag":81,"props":5824,"children":5825},{"style":171},[5826],{"type":48,"value":408},{"type":42,"tag":81,"props":5828,"children":5829},{"style":177},[5830],{"type":48,"value":5831},"name)          ",{"type":42,"tag":81,"props":5833,"children":5834},{"style":88},[5835],{"type":48,"value":5836},"\u002F\u002F 'Demo Shopper'\n",{"type":42,"tag":320,"props":5838,"children":5840},{"id":5839},"payment-intent-flow-no-checkout-ui",[5841],{"type":48,"value":5842},"Payment Intent Flow (no checkout UI)",{"type":42,"tag":69,"props":5844,"children":5846},{"className":153,"code":5845,"language":155,"meta":74,"style":74},"const pi = await stripe.paymentIntents.create({\n  amount: 5000,\n  currency: 'usd',\n  customer: 'cus_xxx',\n})\n\n\u002F\u002F Confirm triggers payment_intent.succeeded + charge.succeeded webhooks\nconst confirmed = await stripe.paymentIntents.confirm(pi.id)\nconsole.log(confirmed.status) \u002F\u002F 'succeeded'\n",[5847],{"type":42,"tag":77,"props":5848,"children":5849},{"__ignoreMap":74},[5850,5899,5920,5948,5976,5987,5994,6002,6057],{"type":42,"tag":81,"props":5851,"children":5852},{"class":83,"line":84},[5853,5857,5862,5866,5870,5874,5878,5883,5887,5891,5895],{"type":42,"tag":81,"props":5854,"children":5855},{"style":218},[5856],{"type":48,"value":221},{"type":42,"tag":81,"props":5858,"children":5859},{"style":177},[5860],{"type":48,"value":5861}," pi ",{"type":42,"tag":81,"props":5863,"children":5864},{"style":171},[5865],{"type":48,"value":231},{"type":42,"tag":81,"props":5867,"children":5868},{"style":165},[5869],{"type":48,"value":236},{"type":42,"tag":81,"props":5871,"children":5872},{"style":177},[5873],{"type":48,"value":1276},{"type":42,"tag":81,"props":5875,"children":5876},{"style":171},[5877],{"type":48,"value":408},{"type":42,"tag":81,"props":5879,"children":5880},{"style":177},[5881],{"type":48,"value":5882},"paymentIntents",{"type":42,"tag":81,"props":5884,"children":5885},{"style":171},[5886],{"type":48,"value":408},{"type":42,"tag":81,"props":5888,"children":5889},{"style":239},[5890],{"type":48,"value":5236},{"type":42,"tag":81,"props":5892,"children":5893},{"style":177},[5894],{"type":48,"value":246},{"type":42,"tag":81,"props":5896,"children":5897},{"style":171},[5898],{"type":48,"value":688},{"type":42,"tag":81,"props":5900,"children":5901},{"class":83,"line":94},[5902,5907,5911,5916],{"type":42,"tag":81,"props":5903,"children":5904},{"style":254},[5905],{"type":48,"value":5906},"  amount",{"type":42,"tag":81,"props":5908,"children":5909},{"style":171},[5910],{"type":48,"value":262},{"type":42,"tag":81,"props":5912,"children":5913},{"style":292},[5914],{"type":48,"value":5915}," 5000",{"type":42,"tag":81,"props":5917,"children":5918},{"style":171},[5919],{"type":48,"value":462},{"type":42,"tag":81,"props":5921,"children":5922},{"class":83,"line":120},[5923,5928,5932,5936,5940,5944],{"type":42,"tag":81,"props":5924,"children":5925},{"style":254},[5926],{"type":48,"value":5927},"  currency",{"type":42,"tag":81,"props":5929,"children":5930},{"style":171},[5931],{"type":48,"value":262},{"type":42,"tag":81,"props":5933,"children":5934},{"style":171},[5935],{"type":48,"value":195},{"type":42,"tag":81,"props":5937,"children":5938},{"style":104},[5939],{"type":48,"value":1506},{"type":42,"tag":81,"props":5941,"children":5942},{"style":171},[5943],{"type":48,"value":275},{"type":42,"tag":81,"props":5945,"children":5946},{"style":171},[5947],{"type":48,"value":462},{"type":42,"tag":81,"props":5949,"children":5950},{"class":83,"line":130},[5951,5955,5959,5963,5968,5972],{"type":42,"tag":81,"props":5952,"children":5953},{"style":254},[5954],{"type":48,"value":5415},{"type":42,"tag":81,"props":5956,"children":5957},{"style":171},[5958],{"type":48,"value":262},{"type":42,"tag":81,"props":5960,"children":5961},{"style":171},[5962],{"type":48,"value":195},{"type":42,"tag":81,"props":5964,"children":5965},{"style":104},[5966],{"type":48,"value":5967},"cus_xxx",{"type":42,"tag":81,"props":5969,"children":5970},{"style":171},[5971],{"type":48,"value":275},{"type":42,"tag":81,"props":5973,"children":5974},{"style":171},[5975],{"type":48,"value":462},{"type":42,"tag":81,"props":5977,"children":5978},{"class":83,"line":139},[5979,5983],{"type":42,"tag":81,"props":5980,"children":5981},{"style":171},[5982],{"type":48,"value":551},{"type":42,"tag":81,"props":5984,"children":5985},{"style":177},[5986],{"type":48,"value":304},{"type":42,"tag":81,"props":5988,"children":5989},{"class":83,"line":494},[5990],{"type":42,"tag":81,"props":5991,"children":5992},{"emptyLinePlaceholder":124},[5993],{"type":48,"value":127},{"type":42,"tag":81,"props":5995,"children":5996},{"class":83,"line":515},[5997],{"type":42,"tag":81,"props":5998,"children":5999},{"style":88},[6000],{"type":48,"value":6001},"\u002F\u002F Confirm triggers payment_intent.succeeded + charge.succeeded webhooks\n",{"type":42,"tag":81,"props":6003,"children":6004},{"class":83,"line":545},[6005,6009,6014,6018,6022,6026,6030,6034,6038,6043,6048,6052],{"type":42,"tag":81,"props":6006,"children":6007},{"style":218},[6008],{"type":48,"value":221},{"type":42,"tag":81,"props":6010,"children":6011},{"style":177},[6012],{"type":48,"value":6013}," confirmed ",{"type":42,"tag":81,"props":6015,"children":6016},{"style":171},[6017],{"type":48,"value":231},{"type":42,"tag":81,"props":6019,"children":6020},{"style":165},[6021],{"type":48,"value":236},{"type":42,"tag":81,"props":6023,"children":6024},{"style":177},[6025],{"type":48,"value":1276},{"type":42,"tag":81,"props":6027,"children":6028},{"style":171},[6029],{"type":48,"value":408},{"type":42,"tag":81,"props":6031,"children":6032},{"style":177},[6033],{"type":48,"value":5882},{"type":42,"tag":81,"props":6035,"children":6036},{"style":171},[6037],{"type":48,"value":408},{"type":42,"tag":81,"props":6039,"children":6040},{"style":239},[6041],{"type":48,"value":6042},"confirm",{"type":42,"tag":81,"props":6044,"children":6045},{"style":177},[6046],{"type":48,"value":6047},"(pi",{"type":42,"tag":81,"props":6049,"children":6050},{"style":171},[6051],{"type":48,"value":408},{"type":42,"tag":81,"props":6053,"children":6054},{"style":177},[6055],{"type":48,"value":6056},"id)\n",{"type":42,"tag":81,"props":6058,"children":6059},{"class":83,"line":977},[6060,6064,6068,6072,6077,6081,6086],{"type":42,"tag":81,"props":6061,"children":6062},{"style":177},[6063],{"type":48,"value":5776},{"type":42,"tag":81,"props":6065,"children":6066},{"style":171},[6067],{"type":48,"value":408},{"type":42,"tag":81,"props":6069,"children":6070},{"style":239},[6071],{"type":48,"value":4788},{"type":42,"tag":81,"props":6073,"children":6074},{"style":177},[6075],{"type":48,"value":6076},"(confirmed",{"type":42,"tag":81,"props":6078,"children":6079},{"style":171},[6080],{"type":48,"value":408},{"type":42,"tag":81,"props":6082,"children":6083},{"style":177},[6084],{"type":48,"value":6085},"status) ",{"type":42,"tag":81,"props":6087,"children":6088},{"style":88},[6089],{"type":48,"value":6090},"\u002F\u002F 'succeeded'\n",{"type":42,"tag":6092,"props":6093,"children":6094},"style",{},[6095],{"type":48,"value":6096},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":6098,"total":1403},[6099,6113,6127,6152,6162,6185,6195],{"slug":6100,"name":6100,"fn":6101,"description":6102,"org":6103,"tags":6104,"stars":24,"repoUrl":25,"updatedAt":6112},"apple","emulate Apple Sign-in for local development","Emulated Sign in with Apple \u002F Apple OIDC for local development and testing. Use when the user needs to test Apple sign-in locally, emulate Apple OIDC discovery, handle Apple token exchange, configure Apple OAuth clients, or work with Apple userinfo without hitting real Apple APIs. Triggers include \"Apple OAuth\", \"emulate Apple\", \"mock Apple login\", \"test Apple sign-in\", \"Sign in with Apple\", \"Apple OIDC\", \"local Apple auth\", or any task requiring a local Apple OAuth\u002FOIDC provider.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6105,6107,6110,6111],{"name":6106,"slug":6100,"type":15},"Apple",{"name":6108,"slug":6109,"type":15},"Auth","auth",{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:08:52.141606",{"slug":6114,"name":6114,"fn":6115,"description":6116,"org":6117,"tags":6118,"stars":24,"repoUrl":25,"updatedAt":6126},"aws","emulate AWS cloud services locally","Emulated AWS cloud services (S3, SQS, IAM, STS) for local development and testing. Use when the user needs to interact with AWS API endpoints locally, test S3 bucket and object operations, emulate SQS queues and messages, manage IAM users\u002Froles\u002Faccess keys, test STS assume role, or work without hitting real AWS APIs. Triggers include \"AWS emulator\", \"emulate AWS\", \"mock S3\", \"local SQS\", \"test IAM\", \"emulate S3\", \"AWS locally\", \"STS assume role\", or any task requiring local AWS service emulation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6119,6121,6124,6125],{"name":6120,"slug":6114,"type":15},"AWS",{"name":6122,"slug":6123,"type":15},"Cloud","cloud",{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:08:52.818809",{"slug":200,"name":200,"fn":6128,"description":6129,"org":6130,"tags":6131,"stars":24,"repoUrl":25,"updatedAt":6151},"emulate developer APIs for local testing","Local drop-in API emulator for Vercel, GitHub, Google, Slack, Apple, Microsoft, AWS, Linear, and other developer APIs. Use when the user needs to start emulated services, configure seed data, write tests against local APIs, set up CI without network access, or work with the emulate CLI or programmatic API. Triggers include \"start the emulator\", \"emulate services\", \"mock API locally\", \"create emulator config\", \"test against local API\", \"npx emulate\", or any task requiring local service emulation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6132,6135,6136,6137,6140,6143,6144,6147,6150],{"name":6133,"slug":6134,"type":15},"API Development","api-development",{"name":6106,"slug":6100,"type":15},{"name":6120,"slug":6114,"type":15},{"name":6138,"slug":6139,"type":15},"GitHub","github",{"name":6141,"slug":6142,"type":15},"Linear","linear",{"name":13,"slug":14,"type":15},{"name":6145,"slug":6146,"type":15},"Microsoft","microsoft",{"name":6148,"slug":6149,"type":15},"Slack","slack",{"name":20,"slug":21,"type":15},"2026-07-17T06:08:59.816303",{"slug":6139,"name":6139,"fn":6153,"description":6154,"org":6155,"tags":6156,"stars":24,"repoUrl":25,"updatedAt":6161},"emulate GitHub API for local development","Emulated GitHub REST API for local development and testing. Use when the user needs to interact with GitHub API endpoints locally, test GitHub integrations, emulate repos\u002Fissues\u002FPRs, set up GitHub OAuth flows, configure GitHub Apps, test webhooks, or work with actions\u002Fchecks without hitting the real GitHub API. Triggers include \"GitHub API\", \"emulate GitHub\", \"mock GitHub\", \"test GitHub OAuth\", \"GitHub App JWT\", \"local GitHub\", or any task requiring a local GitHub API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6157,6158,6159,6160],{"name":6133,"slug":6134,"type":15},{"name":6138,"slug":6139,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:05:55.104585",{"slug":6163,"name":6163,"fn":6164,"description":6165,"org":6166,"tags":6167,"stars":24,"repoUrl":25,"updatedAt":6184},"google","emulate Google services for local development","Emulated Google OAuth 2.0, OpenID Connect, Gmail, Calendar, and Drive for local development and testing. Use when the user needs to test Google sign-in locally, emulate OIDC discovery, handle Google token exchange, configure Google OAuth clients, work with Gmail messages\u002Fdrafts\u002Fthreads\u002Flabels, manage Calendar events, upload or list Drive files, or work with Google userinfo without hitting real Google APIs. Triggers include \"Google OAuth\", \"emulate Google\", \"mock Google login\", \"test Google sign-in\", \"OIDC emulator\", \"Google OIDC\", \"Gmail API\", \"Google Calendar\", \"Google Drive\", \"local Google auth\", or any task requiring a local Google API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6168,6169,6172,6174,6177,6180,6181],{"name":6108,"slug":6109,"type":15},{"name":6170,"slug":6171,"type":15},"Gmail","gmail",{"name":6173,"slug":6163,"type":15},"Google",{"name":6175,"slug":6176,"type":15},"Google Calendar","google-calendar",{"name":6178,"slug":6179,"type":15},"Google Drive","google-drive",{"name":13,"slug":14,"type":15},{"name":6182,"slug":6183,"type":15},"OAuth","oauth","2026-07-17T06:08:59.475325",{"slug":6142,"name":6142,"fn":6186,"description":6187,"org":6188,"tags":6189,"stars":24,"repoUrl":25,"updatedAt":6194},"emulate Linear API for local development","Emulated Linear GraphQL API for local development and testing. Use when the user needs to test Linear integrations locally, emulate Linear issues, comments, teams, workflow states, OAuth apps, webhooks, agent sessions, or work with the Linear API without hitting the real Linear service. Triggers include \"Linear API\", \"emulate Linear\", \"mock Linear\", \"test Linear OAuth\", \"Linear webhook\", \"Linear agent\", \"local Linear\", or any task requiring a local Linear API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6190,6191,6192,6193],{"name":6133,"slug":6134,"type":15},{"name":6141,"slug":6142,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:04:11.495374",{"slug":6146,"name":6146,"fn":6196,"description":6197,"org":6198,"tags":6199,"stars":24,"repoUrl":25,"updatedAt":6204},"emulate Microsoft Entra ID for local development","Emulated Microsoft Entra ID (Azure AD) OAuth 2.0 \u002F OpenID Connect for local development and testing. Use when the user needs to test Microsoft sign-in locally, emulate Entra ID OIDC discovery, handle Microsoft token exchange, configure Azure AD OAuth clients, work with Microsoft Graph \u002Fme, or test PKCE\u002Fclient credentials flows without hitting real Microsoft APIs. Triggers include \"Microsoft OAuth\", \"Entra ID\", \"Azure AD\", \"emulate Microsoft\", \"mock Microsoft login\", \"test Microsoft sign-in\", \"Microsoft OIDC\", \"local Microsoft auth\", or any task requiring a local Microsoft OAuth\u002FOIDC provider.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6200,6201,6202,6203],{"name":6108,"slug":6109,"type":15},{"name":13,"slug":14,"type":15},{"name":6145,"slug":6146,"type":15},{"name":6182,"slug":6183,"type":15},"2026-07-17T06:08:55.822349",{"items":6206,"total":6370},[6207,6225,6235,6247,6260,6275,6287,6298,6311,6324,6336,6355],{"slug":6208,"name":6208,"fn":6209,"description":6210,"org":6211,"tags":6212,"stars":6222,"repoUrl":6223,"updatedAt":6224},"agent-browser","automate browser interactions for AI agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6213,6216,6219],{"name":6214,"slug":6215,"type":15},"Agents","agents",{"name":6217,"slug":6218,"type":15},"Automation","automation",{"name":6220,"slug":6221,"type":15},"Browser Automation","browser-automation",38346,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-browser","2026-07-20T05:55:17.314329",{"slug":6226,"name":6226,"fn":6227,"description":6228,"org":6229,"tags":6230,"stars":6222,"repoUrl":6223,"updatedAt":6234},"agentcore","run browser automation on AWS Bedrock","Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include \"use agentcore\", \"run on AWS\", \"cloud browser with AWS\", \"bedrock browser\", \"agentcore session\", or any task requiring AWS-hosted browser automation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6231,6232,6233],{"name":6217,"slug":6218,"type":15},{"name":6120,"slug":6114,"type":15},{"name":6220,"slug":6221,"type":15},"2026-07-17T06:08:33.665276",{"slug":6236,"name":6236,"fn":6237,"description":6238,"org":6239,"tags":6240,"stars":6222,"repoUrl":6223,"updatedAt":6246},"core","navigate and interact with web pages","Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple browser sessions in parallel, and troubleshooting common failures. Use when the user asks to interact with a website, fill a form, click something, extract data, take a screenshot, log into a site, test a web app, or automate any browser task.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6241,6242,6243],{"name":6214,"slug":6215,"type":15},{"name":6220,"slug":6221,"type":15},{"name":6244,"slug":6245,"type":15},"Navigation","navigation","2026-07-26T05:47:42.378419",{"slug":6248,"name":6248,"fn":6249,"description":6250,"org":6251,"tags":6252,"stars":6222,"repoUrl":6223,"updatedAt":6259},"derive-client","reverse engineer internal APIs from browser traffic","Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to \"derive a client\", \"build a CLI for \u003Csite>\", \"reverse engineer this site's API\", \"record network requests\", \"turn this site into an API\", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6253,6254,6255,6256],{"name":6133,"slug":6134,"type":15},{"name":6217,"slug":6218,"type":15},{"name":6220,"slug":6221,"type":15},{"name":6257,"slug":6258,"type":15},"Web Scraping","web-scraping","2026-07-20T06:24:11.928835",{"slug":6261,"name":6261,"fn":6262,"description":6263,"org":6264,"tags":6265,"stars":6222,"repoUrl":6223,"updatedAt":6274},"dogfood","perform exploratory testing on web applications","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6266,6267,6270,6273],{"name":6220,"slug":6221,"type":15},{"name":6268,"slug":6269,"type":15},"Debugging","debugging",{"name":6271,"slug":6272,"type":15},"QA","qa",{"name":20,"slug":21,"type":15},"2026-07-17T06:07:41.421482",{"slug":6276,"name":6276,"fn":6277,"description":6278,"org":6279,"tags":6280,"stars":6222,"repoUrl":6223,"updatedAt":6286},"electron","automate Electron desktop applications","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6281,6282,6283],{"name":6214,"slug":6215,"type":15},{"name":6220,"slug":6221,"type":15},{"name":6284,"slug":6285,"type":15},"Desktop","desktop","2026-07-17T06:08:28.007783",{"slug":6149,"name":6149,"fn":6288,"description":6289,"org":6290,"tags":6291,"stars":6222,"repoUrl":6223,"updatedAt":6297},"interact with Slack workspaces","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6292,6293,6296],{"name":6220,"slug":6221,"type":15},{"name":6294,"slug":6295,"type":15},"Messaging","messaging",{"name":6148,"slug":6149,"type":15},"2026-07-17T06:08:27.679015",{"slug":6299,"name":6299,"fn":6300,"description":6301,"org":6302,"tags":6303,"stars":6222,"repoUrl":6223,"updatedAt":6310},"vercel-sandbox","run browser automation in Vercel Sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6304,6305,6306,6307],{"name":6217,"slug":6218,"type":15},{"name":6220,"slug":6221,"type":15},{"name":20,"slug":21,"type":15},{"name":6308,"slug":6309,"type":15},"Vercel","vercel","2026-07-17T06:08:28.349899",{"slug":6312,"name":6312,"fn":6313,"description":6314,"org":6315,"tags":6316,"stars":6321,"repoUrl":6322,"updatedAt":6323},"deploy-to-vercel","deploy applications to Vercel","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6317,6320],{"name":6318,"slug":6319,"type":15},"Deployment","deployment",{"name":6308,"slug":6309,"type":15},28993,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills","2026-07-17T06:08:41.18374",{"slug":6325,"name":6325,"fn":6326,"description":6327,"org":6328,"tags":6329,"stars":6321,"repoUrl":6322,"updatedAt":6335},"vercel-cli-with-tokens","manage Vercel projects via CLI","Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. \"deploy to vercel\", \"set up vercel\", \"add environment variables to vercel\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6330,6333,6334],{"name":6331,"slug":6332,"type":15},"CLI","cli",{"name":6318,"slug":6319,"type":15},{"name":6308,"slug":6309,"type":15},"2026-07-17T06:08:41.84179",{"slug":6337,"name":6337,"fn":6338,"description":6339,"org":6340,"tags":6341,"stars":6321,"repoUrl":6322,"updatedAt":6354},"vercel-composition-patterns","implement scalable React composition patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6342,6345,6348,6351],{"name":6343,"slug":6344,"type":15},"Best Practices","best-practices",{"name":6346,"slug":6347,"type":15},"Frontend","frontend",{"name":6349,"slug":6350,"type":15},"React","react",{"name":6352,"slug":6353,"type":15},"UI Components","ui-components","2026-07-17T06:05:40.576913",{"slug":6356,"name":6356,"fn":6357,"description":6358,"org":6359,"tags":6360,"stars":6321,"repoUrl":6322,"updatedAt":6369},"vercel-optimize","optimize Vercel project performance and costs","Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel\u002Fframework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6361,6364,6365,6368],{"name":6362,"slug":6363,"type":15},"Cost Optimization","cost-optimization",{"name":6318,"slug":6319,"type":15},{"name":6366,"slug":6367,"type":15},"Performance","performance",{"name":6308,"slug":6309,"type":15},"2026-07-17T06:04:08.327515",100]