How to use billing alerts
Billing alerts allow you to oversee your expenses efficiently. This feature allows you to create alerts that notify you when predefined budget thresholds are met. Your alerts can be seamlessly delivered through SMS, email, or API webhooks.
Your budget, denominated in euros, represents the limit for your expenses. Simultaneously, the threshold corresponds to a predetermined percentage of this budget. You have the autonomy to define both the budget and the threshold within the Scaleway console.
For example:
- If you have defined a budget of €1,000, you may configure an email notification to be sent once you have consumed 50% of this limit. In this case, once your consumption reaches €500, you will receive an email informing you that the limit threshold has been reached.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
How to create a billing alert
-
Click Billing in the top-right drop-down menu to go to the Billing Overview page.
-
Click the Consumption tab.
-
Scroll down to Billing alerts.
-
Click + Create a billing alert to configure your first alert. If you already have an alert, click + Add alert A pop-up displays.
-
Enter your monthly budget.
-
Enter the threshold that triggers the alert in percentage.
-
Select how you want to receive your alerts. You can choose one or more of the following:
- SMS notifications - indicate the phone number
- E-mail notifications - indicate the email address
- Webhook triggers - indicate the webhook URL
-
Click Create billing alert to enable the alert.
You may configure up to 10 billing alerts based on your monthly budget. To create a new billing alert, click + Add alert, and repeat the steps above.
Webhook API Call
When you configure a Webhook, an HTTP
request is made to the configured URL. It transmits the following information as an HTTP POST
request to the specified URL:
Header: "Content-Type": "application/json"
POST /my/configured/webhook
{
"invoice_start_date": <INVOICE_START_DATE>,
"threshold": <THRESHOLD_VALUE_IN_PERCENT>
}
How to delete a billing alert
- Click Billing in the top-right drop-down menu to go to the Billing Overview page.
- Click the Consumption tab.
- Scroll down to Billing alerts.
- Click more icon > Delete alert next to the alert. A pop-up appears.
- Click Delete alert to confirm.
How to delete the alert budget
- Click Billing in the top-right drop-down menu to go to the Billing Overview page.
- Click the Consumption tab.
- Scroll down to Billing alerts.
- Click delete icon next to the alert budget. A pop-up appears.
- Type DELETE, then click Confirm.