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

# Checkout (CHECKOUT_UPDATE)

> Pagamentos feitos pelo link de pagamento.

Enviado quando um pagamento via checkout ou link de pagamento é confirmado.

| Campo | Tipo | Descrição |
| - | - | - |
| `event` | `string` | Sempre `CHECKOUT_UPDATE` |
| `status` | `string` | `PAID` |
| `paymentMethod` | `string` | Método de pagamento utilizado (ex: `PIX`) |
| `checkoutId` | `string` | ID do checkout |
| `transactionId` | `string` | ID da transação no Alpha Gateway |
| `value` | `number` | Valor pago |
| `customer.fullName` | `string` | Nome do cliente |
| `customer.document` | `string` | CPF ou CNPJ do cliente |
| `products` | `array` | Lista de produtos do checkout |
| `products[].externalId` | `string` | Identificador externo do produto |
| `products[].name` | `string` | Nome do produto |
| `products[].value` | `number` | Valor unitário do produto |
| `products[].quantity` | `number` | Quantidade |
| `paidAt` | `string` | Data e hora do pagamento (ISO 8601) |

**Exemplo:**

```json theme={null}
{
  "event": "CHECKOUT_UPDATE",
  "status": "PAID",
  "paymentMethod": "PIX",
  "checkoutId": "01961234-abcd-7000-8000-000000000003",
  "transactionId": "01961234-abcd-7000-8000-000000000004",
  "value": 149.90,
  "customer": {
    "fullName": "Carlos Santos",
    "document": "98765432100"
  },
  "products": [
    {
      "externalId": "SKU-001",
      "name": "Camiseta Premium",
      "value": 49.90,
      "quantity": 1
    },
    {
      "externalId": "SKU-002",
      "name": "Boné Personalizado",
      "value": 100.00,
      "quantity": 1
    }
  ],
  "paidAt": "2025-03-08T15:30:00.000Z"
}
```

***


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