# Introduction (/docs)

Comecero is one REST API for selling online: carts and payments, subscriptions, invoices, refunds and the webhooks that tell your server what happened.

## Start here [#start-here]

<Cards>
  <Card icon={<Rocket />} title="Quickstart" href="/docs/getting-started/quickstart">Create a test token, a product and a cart, and take your first test payment.</Card>
  <Card icon={<ListChecks />} title="Basic setup" href="/docs/getting-started/basic-setup">Products, currencies, tax, shipping, emails and your team, step by step.</Card>
  <Card icon={<Lightbulb />} title="Concepts" href="/docs/basic-concepts">Tokens, errors, lists, dates and the other rules every endpoint follows.</Card>
  <Card icon={<Braces />} title="API reference" href="/api">Every endpoint with its fields, examples and a panel to try it.</Card>
  <Card icon={<Sparkles />} title="Build with AI" href="/docs/getting-started/build-with-ai">Connect Claude, Cursor or VS Code to these docs with the MCP server.</Card>
</Cards>

## Popular guides [#popular-guides]

<Cards>
  <Card icon={<CreditCard />} title="Accept payments" href="/docs/guides/accept-payments">Build a checkout: cart, payment, 3-D Secure, declines, capture later.</Card>
  <Card icon={<Webhook />} title="Webhooks" href="/docs/guides/webhooks">Get events on your server and check their signature.</Card>
  <Card icon={<Repeat />} title="Subscriptions" href="/docs/guides/subscriptions">Sell plans, change items, and handle renewals that fail.</Card>
  <Card icon={<FileText />} title="Invoices" href="/docs/guides/invoices">Send an invoice with a payment link, and get paid.</Card>
  <Card icon={<Undo2 />} title="Refunds" href="/docs/guides/refunds">Give money back in full or in part, and record chargebacks.</Card>
  <Card icon={<Flag />} title="Going live" href="/docs/guides/going-live">The checklist for switching from test to live.</Card>
</Cards>

## Integrations [#integrations]

<Cards>
  <Card icon={<MousePointerClick />} title="Checkout button" href="/docs/integrations/checkout-button">Add a Buy button to your own website with one script tag.</Card>
  <Card icon={<Store />} title="Hosted shop and links" href="/docs/integrations/hosted-shop">Your ready shop, add-to-cart links and payment page links.</Card>
  <Card icon={<UserRound />} title="Customer account page" href="/docs/integrations/customer-account">Where customers manage orders, subscriptions and cards.</Card>
  <Card icon={<Landmark />} title="Payment gateways" href="/docs/integrations/payment-gateways">Comecero Express Payments or your own gateway, and how one is picked.</Card>
  <Card icon={<ShieldCheck />} title="Fraud screening" href="/docs/integrations/fraud-screening">What is checked, what a blocked payment returns, and trusted customers.</Card>
</Cards>

## Usage billing [#usage-billing]

Bill customers for what they use: API calls, AI tokens, seats or storage, on the subscriptions you already sell.

<Cards>
  <Card icon={<Gauge />} title="Usage billing and credits" href="/docs/usage-billing">How metering, prices, credit and invoices fit together.</Card>
  <Card icon={<Rocket />} title="Quickstart" href="/docs/usage-billing/quickstart">Set up one customer and send their first usage in one script.</Card>
  <Card icon={<Coins />} title="Bill for API calls" href="/docs/tutorials/bill-for-api-calls">A full tutorial: count calls, send them in batches, price them in tiers.</Card>
</Cards>

## Go deeper [#go-deeper]

<Cards>
  <Card icon={<GraduationCap />} title="Tutorials" href="/docs/tutorials/hello-world">Build a working browser checkout in one HTML page.</Card>
  <Card icon={<SlidersHorizontal />} title="Settings reference" href="/docs/reference">Shipping, fulfillment and gateway settings explained.</Card>
  <Card icon={<BookOpen />} title="Changelog" href="/api/changelog">What changed in the API and these docs.</Card>
</Cards>
