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

# Pagos en sitio web (SDK)

> Crear payment intents vía Connect API y montar el widget con @zopay/js.

Para cobrar en una web, el reparto es:

* **Servidor:** crea el payment intent contra Connect API con tu clave `sk_live_…` (o `sk_test_…`).
* **Navegador:** usa `@zopay/js` para montar el widget de pago a partir del envelope del intent. El SDK **no** lleva credenciales y nunca habla con ZoPay directamente — sus lecturas de estado pasan por tu backend vía el callback `checkStatus`.

## Qué incluye el SDK

* [`mountPaymentWidget`](/sdk-reference/mount-payment-widget) — widget completo (QR + selector + polling).
* [`createPoller`](/sdk-reference/create-poller) — poller sin UI, para integraciones con UI custom.
* [`normalizeIntent`](/sdk-reference/normalize-intent) — mapea la respuesta de Connect API al shape que el widget espera.

## Siguiente paso

<Card title="Quickstart SDK" icon="rocket" href="/quickstarts/checkout-sdk">
  Crear intent en servidor + montar widget en cliente.
</Card>

<Card title="Referencia: Crear Payment Intent" icon="book" href="/api-reference/endpoints/post-payment-intents">
  Endpoint que tu servidor llama.
</Card>

<Card title="Referencia SDK" icon="package" href="/sdk-reference/index">
  `mountPaymentWidget`, `createPoller`, `normalizeIntent`.
</Card>
