# Fundamentals

Learn the concepts shared across Kustom APIs: orders, authentication, environments and the order lifecycle. Understand what your integration handles.

Kustom provides checkout, in-person payments, order management and settlement reporting. Each
has its own API, and all of them work on the same order with the same API credentials.

  [Choose your integration](#choose-your-integration)
  [See how the products connect](/basics/perfect-integration/)

## Choose your integration

Using an e-commerce platform? Start with a plugin. The API guides are for developers building custom integrations.

- **Use a platform plugin** _(Platform plugins)_ — Connect your store without a custom API integration. Find a plugin for WooCommerce, Magento, PrestaShop, OXID or another supported platform. [Browse platform plugins](/partners/)
- **Build with the API** _(Live demo)_ — Create an order, render Checkout and confirm a test purchase in the interactive Playground tutorial. [Start the quickstart](/checkout/quickstart/)
- **Use a coding agent** _(Agents)_ — Set up the Kustom skill and Playground credentials. Your agent can read the docs as Markdown and create test orders. [Set up a coding agent](/basics/for-agents/)

## What runs through every product

These concepts apply across Kustom products:

  The order

Order fields, amounts in minor units, line totals and HTML snippets.

[/basics/what-an-order-is/](/basics/what-an-order-is/)

  Authentication and environments

HTTP Basic credentials and separate production and playground environments.

[/api/authentication/](/api/authentication/)

  The order lifecycle

Order statuses, transitions and the actions your integration takes at each stage.

[/basics/order-lifecycle/](/basics/order-lifecycle/)

  API basics

Data formats, errors, limits and idempotency.

[/api/](/api/)

## What you own and what Kustom owns

Your integration manages the cart, callbacks and order records. Kustom handles the checkout and payment processing.

| You own | Kustom owns |
|---|---|
| **The cart math.** Line totals must add up to the order total. Kustom rejects a mismatch rather than correcting it. | **The checkout UI** and everything the customer types into it. |
| **Your callback endpoints.** Confirmation, push and optionally validation and shipping. | **Payment methods and the customer's payment data.** You never see a card number. |
| **Your own order record.** The push call is what tells you to create it. | **Authorization and settlement.** You capture. Kustom moves and pays out the money. |

## Related

- [Build a perfect integration](/basics/perfect-integration/) — how the products connect on one order, and the standard each stage is held to
- [How Kustom Checkout works](/basics/how-kustom-works/) — the four calls behind every direct integration
- [Express buttons](/checkout/surfaces/express-buttons/), [Sell to businesses (B2B)](/checkout/use-cases/b2b/) and [Recurring and on-demand payments](/checkout/recurring/) — features to add to the checkout
- [Test data](/basics/test-data/) — addresses and payment details that complete a Playground purchase
- [Browse platform plugins](/partners/) — skip the code entirely if a plugin exists
