payment_link.completed
Se pagó un link de pago correctamente.
Payload
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
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.
{
"event": "payment_link.completed",
"timestamp": "2026-06-18T14:05:00.000Z",
"organizationId": "org_abc123",
"mode": "live",
"apiVersion": "2026-06-10",
"data": {
"paymentId": "pay_l1m2n3",
"status": "succeeded",
"amount": 5000,
"currency": "usd",
"description": "One-time onboarding fee",
"customerId": "user_123",
"invoiceId": "inv_n4o5p6",
"invoiceNumber": "INV-0044",
"paymentTransactionId": "ptx_q7r8s9"
}
}Cuándo se dispara
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 ya sea que tu organización use el proveedor Stripe o el proveedor sandbox de Commet.
¿Cómo está esta guía?