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

# Crear un checkout

> En DoglyTdc Pay, crear un producto ya crea el checkout. Conoce el flujo y el enlace de pago.

![Captura de pantalla: Productos en DoglyTdc Pay](https://mintcdn.com/dogly-tdc/qOnot79kPtISSKbW/images/pay/pay-products.png?fit=max\&auto=format\&n=qOnot79kPtISSKbW\&q=85\&s=f52027da00f5add478ab16a782480c7b)

Productos en DoglyTdc Pay

## Cómo funciona

Todo producto activo de DoglyTdc Pay ya tiene un **checkout alojado** con PIX y Saldo. No necesitas crear un checkout por separado.

**1. Crea el producto**

En **DoglyTdc Pay › Productos › Nuevo producto**: nombre, precio, moneda (BRL o USD) y tipo (único o suscripción).

**2. Obtén el ID**

Usa [Listar Productos](https://docs.doglytdc.dev/es/pay/api-reference/products/list.md) para encontrar el `id`.

**3. Solicita el enlace**

Llama a [Crear Enlace de Pago](https://docs.doglytdc.dev/es/pay/api-reference/payment-links/create.md) con el `product_id`.

**4. Aprueba**

La API responde `202 approval_required`. Aprueba en **Integraciones › MCP**; el enlace quedará listo en Pay.

```bash theme={null}
curl -X POST https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/payment-links \
  -u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"UUID_DEL_PRODUCTO"}'
```

> [!NOTE]
>
> Los cupones y afiliados se aplican en el propio checkout, junto con PIX.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.