Discord Webhooks
Overview of Discord Webhooks
What's a Discord Webhook?
Discord features a function called Webhooks which allows Hayha to send important notifications to a Discord channel such as successful checkouts, failed checkouts, and checkout links.

How to setup a Discord Webhook?
We recommend setting up your Discord Webhook in a private/personal server where no else can see the information but you. Webhooks can contain sensitive information so it's a good practice to keep this information private.
How to make your own server?
1. Click the "+" button on the left hand column.

2. After clicking on the "+" symbol a pop up will appear. Select "Create a server".

3. You can enter in the server name and change the server icon. After you're done customizing your server press create.


Congratulations you have successfully setup a Discord Server.
Creating a Discord Webhook
1. Open your Discord Server and click the Gear Icon (Edit Channel) of the channel you want to post to.

2. Click on the "Integrations" tab and select "Webhooks".

3. Name your Webhook and hit the button "Save Changes" and click on "Copy Webhook URL".

4. After you click on "Copy Webhook URL" it will copy the Webhook link, you will then go into the "Settings" tab in-bot then paste the Webhook link into the desired sections and press "Save Webhook" to complete setting up.
Success Webhook: This Webhook will send a Discord notification of successful checkouts to the desired Discord channel.
Failure Webhook: This Webhook will send a Discord notifications of failed checkouts to the desired Discord channel.
Miscellaneous Webhook: This Webhook is used for notifications such as splash passes.

5. Test your Discord Webhook by pressing the "Test" button.

If successful you will see the message below in the Discord channel you assigned the Webhook to.

Last updated