> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pesarc.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations overview

> Ways to build Pesarc into your product — SaaS billing, e-commerce, AI agents and the raw API.

Pesarc gives you a small REST API and a hosted checkout so you can accept
stablecoin-settled payments and move money from your own product. Pick the path
that matches what you're building.

<CardGroup cols={2}>
  <Card title="SaaS billing" icon="repeat" href="/integrations/saas">
    Charge for plans and usage, and pay out to your users.
  </Card>

  <Card title="E-commerce" icon="cart-shopping" href="/integrations/ecommerce">
    Add a Pay-with-Pesarc button to your store's checkout.
  </Card>

  <Card title="Agents & AI" icon="robot" href="/integrations/agents">
    Let an AI assistant move money in plain language.
  </Card>

  <Card title="Webhooks" icon="bell" href="/integrations/webhooks">
    Get notified the moment a payment settles.
  </Card>
</CardGroup>

## The building blocks

* **Hosted checkout** — create a payment with
  [`POST /v1/payments`](/api-reference/create-payment) and redirect the customer
  to the `checkout_url`. Pesarc handles the payment UI, settlement and gas
  sponsorship.
* **Status** — confirm results server-side with
  [webhooks](/integrations/webhooks) or by polling
  [`GET /checkout/:id`](/api-reference/get-checkout).
* **The agent** — drive money movement in natural language through
  [`POST /agent/settle`](/api-reference/agent-settle).
* **Keys** — issue and rotate secret keys via
  [the keys API](/api-reference/keys) or the **Developers** screen in the app.

## Base URL & auth

All requests go to `https://pesarc.xyz/api` and authenticate with a bearer
key:

```
Authorization: Bearer sk_live_xxx
```

See [Authentication](/api-reference/authentication) for the details.
