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

# Integrate SimplePay

> Accept payments, manage catalogs, and reconcile operations with the SimplePay public API.

Integrate payments from your backend with a key scoped to one merchant and environment. Start in sandbox and enable live after payment readiness passes.

<Columns cols={2}>
  <Card title="Create a Checkout" icon="rocket" href="/en/quickstart">
    Create a hosted session and redirect the buyer to SimplePay.
  </Card>

  <Card title="Explore endpoints" icon="braces" href="/en/api-reference/overview">
    Read the OpenAPI contract generated from the gateway.
  </Card>

  <Card title="Manage your catalog" icon="boxes" href="/en/catalog/overview">
    Work with catalogs, products, variants, prices, and inventory.
  </Card>

  <Card title="Process events" icon="radio" href="/en/webhooks/overview">
    Verify signatures, deduplicate events, and request replays.
  </Card>
</Columns>

## Select the correct environment

Sandbox and live use different hosts and keys:

| Environment | Base URL                        | Real money |
| ----------- | ------------------------------- | ---------- |
| Sandbox     | `https://api.test.simplepay.mx` | No         |
| Live        | `https://api.simplepay.mx`      | Yes        |

<Warning>
  Do not combine a sandbox host with a live key. The gateway rejects
  cross-environment combinations.
</Warning>

## Follow the integration flow

<Steps>
  <Step title="Create a sandbox key">
    Sign in to the dashboard, select the merchant, and limit its scopes.
  </Step>

  <Step title="Create a Checkout">
    Call the API from your backend with an idempotency key.
  </Step>

  <Step title="Connect webhooks">
    Verify the unmodified body and deduplicate each event ID.
  </Step>

  <Step title="Request live access">
    Enable live after payment readiness and end-to-end checks pass.
  </Step>
</Steps>
