Se pagó un link de pago correctamente.
Todos los webhooks comparten una estructura principal. Los datos específicos del evento están dentro de data .
El motivo original del cobro y cómo se inició este intento. La recuperación nunca reemplaza el motivo original. El contexto puede ser null si no se capturó, incluso en reintentos de facturas históricas.
The payment link ID.
The link status. Always "succeeded" for this event.
The collected amount in cents (100 = $1.00).
The payment currency code.
The payment description shown to the customer.
The customer ID, or null when the link is not tied to a customer. Returns your externalId if you provided one when creating the customer, otherwise returns the Commet publicId.
The one-time invoice generated for this payment.
The human-readable invoice number.
The payment transaction ID for the settled charge.
The payment method: card, oxxo, or mercado_pago. Null when unknown.
The source of funds for this charge, when reported by the provider. Null when unavailable or unknown.
{
"event": "payment_link.completed",
"timestamp": "2026-06-23T14:30:00.000Z",
"organizationId": "8f14e45f-ceea-4e7a-9c3d-1c2b3a4d5e6f",
"mode": "live",
"apiVersion": "2026-08-27",
"data": {
"paymentContext": {
"reason": "one_time_payment",
"paymentLinkId": "pay_l1m2n3",
"recovery": null
},
"paymentId": "pay_l1m2n3",
"status": "succeeded",
"amount": 5000,
"currency": "usd",
"description": "One-time onboarding fee",
"customerId": "user_123",
"invoiceId": "inv_n4o5p6",
"invoiceNumber": "INV-0044",
"paymentTransactionId": "txn_q7r8s9",
"paymentMethod": "card",
"subPaymentMethod": null
}
}Cuando un cliente paga un link de pago en la página de pago alojada y el cobro se liquida. Commet genera un recibo único (invoiceType: "one_time_payment") y una transacción de pago al mismo tiempo; el payload incluye el invoiceId y el paymentTransactionId.
Este es el evento donde entregar la compra — el dinero ya fue cobrado.
El evento se dispara igual sin importar qué proveedor de pagos procese el cobro.
¿Cómo está esta guía?