Webhook
There are two types of webhooks you need to set up and manage in Xenith:
- Webhook Signature Secret: a security key used to verify that incoming webhook events truly come from Xenith (authenticity check).
- Webhook: an endpoint configuration where you receive those webhook events (the actual delivery channel).
Webhook Signature Secret
Xenith secures webhook events by including a signature in the request headers. You can use your Webhook Signature Secret to compute and verify this signature, ensuring that the events are authentic and originate from Xenith. Learn more here.
If your account has the necessary permissions to access Developer Settings, you can retrieve your Webhook Signature Secret from the Webhook Signature Secret tab in the Developer Settings module.
- Navigate to Settings → Developer Settings → Webhook Signature Secret
- Click "View"
- Authenticate using the OTP sent to your registered email
- Once authenticated, you can view and copy your Webhook Signature Secret
- Click "Hide" or navigate away to conceal the secret
Treat your Webhook Signature Secret like a password. Do not share it, and store it securely. If you suspect it has been compromised, reach out immediately to [email protected]
Webhook
Webhooks allow you to receive real-time notifications about specific activities, such as system maintenance or pay-in credit creation. You can configure webhook endpoints to receive these event payloads and simulate test events during your integration process.
Set Up a Webhook (e.g., for Maintenance Notifications)
-
Navigate to Settings → Developer Settings → Webhook
-
In the Webhooks section, click “+ New Webhook.”
-
Fill out the form by entering your destination Webhook URL and selecting the events you want to receive.
-
Click Save. When those events occur, Xenith will send webhook event payloads to the URL you specified.
You can edit the webhook URL, label, and selected events at any time if needed.
Simulate a Webhook
-
Navigate to Settings → Developer Settings → Webhook
-
Click one of your existing webhooks to open its Webhook Details.
-
Review the sample payload displayed on the right.
-
Click Simulate Webhook to send a test payload to your configured Webhook URL.
Updated about 2 months ago
