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

# Pago confirmado

> El pago quedó confirmado

<span className="cobrix-event-name">payment.succeeded</span>

## Qué significa

Cobrix confirmó el pago por aprobación manual, débito inmediato o pasarela. Este es el evento general que debes usar para habilitar servicios, registrar el pago en un ERP o cerrar una orden externa.

## Payload completo

```json theme={null}
{
  "id": "evt_40544883-5dd6-420d-960a-f473ec2a754a",
  "event": "payment.succeeded",
  "created_at": "2026-07-14T16:00:00.000Z",
  "api_version": "2025-01-21",
  "data": {
    "paymentId": "pay_842f7712",
    "checkoutSessionId": "cs_5e52b98d",
    "companyId": "7d355d52-ac74-49f5-b31c-ce29b4680752",
    "customer": {
      "companyCustomerId": "cc_8aa37fd1",
      "name": "Ana Pérez",
      "email": "ana@example.com",
      "phone": "+584120000000",
      "taxId": "V12345678",
      "externalRef": "customer-1001",
      "metadata": null,
      "customerCode": "C-1001",
      "labels": ["internet"],
      "status": "active",
      "customFieldsData": null,
      "type": "individual",
      "address": {
        "street": "Av. Principal",
        "city": "San Cristóbal",
        "state": "Táchira",
        "postalCode": "5001",
        "country": "VE"
      }
    },
    "amount": 20,
    "amountMinor": 2000,
    "currency": "USD",
    "method": "card",
    "payment": {
      "id": "pay_842f7712",
      "companyId": "7d355d52-ac74-49f5-b31c-ce29b4680752",
      "companyCustomerId": "cc_8aa37fd1",
      "checkoutSessionId": "cs_5e52b98d",
      "subscriptionId": null,
      "status": "succeeded",
      "reconciliationStatus": "reconciled",
      "amount": 20,
      "amountMinor": 2000,
      "currency": "USD",
      "referenceAmountMinor": null,
      "referenceCurrency": null,
      "provider": "checkout",
      "providerChargeId": "charge_9001",
      "hasPaymentReference": true,
      "paymentReference": "PAY-9001",
      "paymentReferenceMasked": "****9001",
      "hasProof": false,
      "paidAt": "2026-07-14T16:00:00.000Z",
      "valueDate": null,
      "createdAt": "2026-07-14T15:59:00.000Z",
      "updatedAt": "2026-07-14T16:00:00.000Z",
      "exchange": null
    },
    "paymentMethod": {
      "kind": "card",
      "method": "card",
      "label": "Tarjeta",
      "channel": "automatic",
      "provider": "checkout",
      "isManual": false,
      "requiresReconciliation": false,
      "receiver": null,
      "receiverCheck": null,
      "submitted": null,
      "review": {
        "requiresReview": false,
        "reasons": [],
        "ocrVerdict": null,
        "ocrConfidence": null
      }
    },
    "paymentReference": "PAY-9001",
    "status": "succeeded",
    "subscriptionId": null,
    "paidAt": "2026-07-14T16:00:00.000Z",
    "exchange": null,
    "reconciledAt": null
  }
}
```

## Regla de implementación

Usa `data.paymentId` como identificador estable. Si ya procesaste ese pago, responde `200` sin repetir la acreditación. No deduzcas el monto desde texto: usa `amountMinor` y `currency`.

<Info>
  Si necesitas conocer qué documentos fueron afectados, procesa también `payment.applied_to_collection_document`.
</Info>
