Skip to content

Event types

EventTriggerdata.object type
payment.createdA Payment is createdPayment
payment.pendingMempool tx detected for the paymentPayment
payment.succeededPayment confirmed (network finality reached)Payment
payment.failedOn-chain failure or reversalPayment
payment.expiredexpires_at passed without paymentPayment
checkout.session.completedHosted Checkout payment confirmedCheckoutSession
checkout.session.expiredSession expired without paymentCheckoutSession
qr.session.completedQR Session payment confirmedQRSession
refund.createdRefund initiatedRefund
refund.succeededRefund confirmed on-chainRefund
refund.failedRefund couldn’t be sent (e.g., insufficient liquidity)Refund

ParaSta guarantees payment.succeeded is sent after payment.pending for the same payment. No other ordering is guaranteed across different payments or across object types.

When creating a webhook endpoint, specify enabled_events:

{
"url": "https://your-site.com/webhook",
"enabled_events": ["checkout.session.completed", "payment.failed", "refund.succeeded"]
}

You’ll only receive the listed events. Use ["*"] to subscribe to all (current and future).