Skip to content

Webhooks

A webhook is an HTTP request Baiyar sends to a URL you configure whenever something happens on your project — a payment reaching a final state, a project’s settings changing, or an API key being created or revoked. Use it instead of polling GET /v1/payments/{paymentID} to know the moment a customer completes payment.

Webhooks apply the same way to both payment links and direct payments — the payment lifecycle behind them is identical either way.