Skip to main content

Create Webhook

POST 

/webhooks

Register an HTTPS webhook endpoint to receive event notifications. The response returns the created destination and its signing_secret.

The signing secret is shown exactly once — store it now; it cannot be retrieved later. Use it to verify the signature of incoming webhook deliveries.

A webhook created here has order.status_changed enabled; the other events follow the per-event defaults listed in Webhook events.

Requirements:

  • Your account needs more than 1 TRX of net confirmed deposits (confirmed deposits minus withdrawals, including their fees). Purchases don't reduce it; withdrawals do.
  • The URL must use HTTPS and its host must resolve only to public IP addresses (localhost, *.local and tronagg.ai hosts are rejected). The host is checked again before every delivery.
  • Redirects are not followed. A trailing / is removed from the URL.
  • One webhook per URL, at most 10 webhooks per account.

Request​

Responses​

Webhook created. The signing_secret is returned only here.