Webhook event types
"domain.purchased": Indicates that the domain order creation has been completed."domain.transfer.in.initiated": Only applicable for Entri Sell Enterprise. An inbound domain transfer has been initiated by the user."domain.transfer.in.started": Only applicable for Entri Sell Enterprise. The inbound domain transfer has been accepted and is now in progress at the registry level."domain.transfer.in.ack": Only applicable for Entri Sell Enterprise. The inbound domain transfer has been acknowledged by the registry."domain.transfer.in.failed": Only applicable for Entri Sell Enterprise. The inbound domain transfer has failed."domain.transfer.out.initiated": Only applicable for Entri Sell Enterprise. An outbound domain transfer away from Entri has been initiated."purchase.error": Indicates an error during the domain purchase process."purchase.confirmation.expired": The purchase confirmation has expired (abandoned flow).
Payload fields
-
purchased_domains: An array of domains that were purchased during the transaction. This field is only relevant for Entri Sell. Example: -
free_domain: Indicates whether the domain was obtained through a free domain flow. Possible values:true: The domain was free.false: The domain was not free.
Browser callback events
The Entri Sell modal emits browser events you can listen for to react when a purchase completes or the modal is closed. Each is awindow event whose event.detail carries the payload described below.
onSuccess Callback Event
Fired when the user reaches the Congratulations screen after a successful purchase. Use it to capture a definitive success signal and the jobId that identifies the flow.
The IONOS, Squarespace, and GoDaddy Sell flows all fire
onSuccess.Sample usage:
JavaScript
Sample event.detail object response:
JSON
Event details object description
The
onSuccess event is the recommended source to capture the jobId for subsequent server-side operations (e.g., retrieving the last webhook or checking the flow status).onEntriClose Callback Event
Fired as soon as the modal is closed, with the latest status of the flow.
Sample usage:
JavaScript
Sample event.detail object response:
JSON
Event details object description
The
onEntriClose payload does not include freeDomain. To know whether a completed purchase used a free-domain flow, read freeDomain from the onSuccess event. When the modal is closed without a completed purchase, success is false and lastStatus is omitted.
