Discord Notifications
Enderpay allows you to easily setup rich discord embeds (or even plain messages) that get sent to your discord server when an event within Enderpay is triggered.
Discord notifications are a premium feature. To list, create, update or delete discord notifications you must be subscribed to its associated plan. You can view plans at https://admin.enderpay.com/dashboard/plans

- 1.Using the sidebar, navigate to Integrations > Discord Notifications
- 2.Click on the Create button.
- 3.Complete the form and click the Create button.
- 1.Using the sidebar, navigate to Integrations > Discord Notifications
- 2.Click the edit icon next to the discord notification you wish to modify.
- 3.Make the necessary changes to your discord notification and click the Update button when complete.
To get this feature working you will have to provide a payload to send to the Discord webhook URL that you specify when creating a discord notification in the admin panel. Enderpay provides several placeholders that you can use in your payloads, these can be found below. It is recommended that you read the following resources before specifying a payload to help you better understand what is possible and what discord accepts.
The following placeholders are available for the notification types
Store Package Initial
, Store Package Chargeback
, Store Package Expiry
, and Store Package Renewal
:Placeholder | Description |
{%GATEWAY_TYPE%} | The gateway the customer used during checkout. |
{%IP_ADDRESS%} | The IP address of the customer. |
{%USERNAME%} | The Minecraft username of the customer. |
{%UUID%} | The Mminecraft UUID of the customer. |
{%DASHED_UUID%} | The Minecraft dashed UUID of the customer. |
{%PACKAGE_NAME%} | The name of the package that the customer purchased. |
{%PACKAGE_QTY%} | The quantity of the package that the customer purchased. |
{%TOTAL%} | The total amount that the customer paid. |
The following placeholders are available for the notification types
Store Login Player Banned
, and Store Login Successful
:Store Login Player Banned
Store Login Successful
Placeholder | Description |
{%USERNAME%} | The Minecraft username of the customer. |
{%UUID%} | The Minecraft UUID of the customer. |
{%DASHED_UUID%} | The Minecraft dashed UUID of the customer. |
{%BAN_REASON%} | The ban reason. |
Placeholder | Description |
{%USERNAME%} | The Minecraft username of the customer. |
{%UUID%} | The Minecraft UUID of the customer. |
{%DASHED_UUID%} | The Minecraft dashed UUID of the customer. |
The following placeholders are available for the notification types
Reward - Payment Milestone
, Reward - Return Customer
and Reward - Reward Count
:Placeholder | Description |
---|---|
{%USERNAME%} | The Minecraft username of the customer that achieved the reward. |
{%UUID%} | The Minecraft UUID of the customer that achieved the reward. |
{%REWARD_NAME%} | The name of the reward that was achieved. |
{
"content": "{%USERNAME%} just purchased {%PACKAGE_QTY%} {%PACKAGE_NAME%}!"
}
{
"embeds": [{
"title": "New Donation!",
"description": "{%USERNAME%} just purchased {%PACKAGE_QTY%} {%PACKAGE_NAME%}!"
}]
}
{
"embeds": [{
"title": "New Achievement!",
"description": "{%USERNAME%} Just unlocked the reward {%REWARD_NAME%}!",
"thumbnail": {
"url": "https://mc-heads.net/head/{%USERNAME%}"
}
}]
}
Last modified 10mo ago