Skip to navigation

Auto Top-Up

Keep your balance funded automatically, know what enabling it commits you to, and get notified when it runs low.
View as MarkdownOpen in Claude

Adding a payment method to your Space turns on Auto Top-Up. When your balance falls below a threshold you set, SignalWire charges the card you chose and adds the funds to your balance. This keeps calls and messages running, and keeps recurring charges such as phone numbers paid.

Auto Top-Up is required

Auto Top-Up is required for any account with active SignalWire resources. You can change the amount, the threshold, and the card that funds it.

When you are charged

SettingDefaultLimits
Threshold$5Minimum $5, maximum $1,000,000
Top-up amount$10Minimum $10

The charge is normally the top-up amount. If topping up by that amount would still leave your balance at or below the threshold, SignalWire charges enough to clear the threshold and add the top-up amount on top. The amount charged can therefore be larger than the amount you configured.

With a threshold of $50 and a top-up amount of $10, a balance that falls to $5 is charged $55.

Auto Top-Up charges at most once every six hours. A Space that spends faster than that can reach a zero balance between charges and lose service until the next one, so set a top-up amount that covers six hours of your own traffic.

Some features require Auto Top-Up to be active before you can use them. Registering a campaign with The Campaign Registry is one of them, and returns the auto_top_up_deactivated error while Auto Top-Up is off.

Change your settings

Open Billing → Low Balance Settings in the Dashboard to change the top-up amount, the threshold, and which card funds Auto Top-Up. The same screen sets up low balance notifications, an email or webhook sent on the same low-balance event.

Low balance notifications

A balance that runs out stops your calls and messages. SignalWire can warn you before that happens by sending an email, a webhook, or both when your balance falls below your threshold.

When notifications are sent

The email and the webhook fire on the same low-balance event as Auto Top-Up, so the same cadence applies: at most once every six hours. Changing your threshold resets this window. They’re sent whether or not Auto Top-Up is on.

The email goes to the owner and every administrator of your Space.

Turn notifications on

In Billing → Low Balance Settings, Send an Email is on by default. To add the webhook, turn on Send a Webhook Request and set the Webhook URL and Method (POST by default, or GET).

To manage these settings over the REST API, use Retrieve low balance settings and Update low balance settings. The send_email, send_webhook, webhook_url, and webhook_method fields control notifications. An update replaces the whole setting, so send your threshold and Auto Top-Up fields along with the notification fields.

The webhook request

SignalWire sends an HTTP request to your webhook URL with two form-encoded parameters. With GET, they arrive as query parameters. With POST, they arrive in the request body.

ParameterDescriptionExample
thresholdYour low balance threshold, in US dollars.5.0
balanceThe balance that triggered the notification, in US dollars.4.253117

The request carries only these two parameters, with the User-Agent header SignalwireCallback/1.0.

SignalWire allows 3 seconds to connect to your endpoint and 5 seconds for the whole request. It follows up to 3 redirects, but a redirect drops the parameters unless it’s a 307 or 308 response to a POST, so set the webhook URL to your endpoint’s final address.

SignalWire doesn’t retry a failed delivery. If your endpoint is down, times out, or returns an error, that notification is lost, and the next one comes with the next low-balance event. To check where your balance stands after an outage, use Retrieve the balance.

Remove the card that funds Auto Top-Up

A card cannot be removed while it is your Auto Top-Up payment method. To remove it:

1

Add another card

Add the replacement payment method to your Space.

2

Point Auto Top-Up at the new card

In Low Balance Settings, select the new card as your Auto Top-Up payment method and save.

3

Remove the original card

The original card can now be removed from the Payment Methods page.

If a charge fails

If the charge is declined, or no valid card is on file to charge, SignalWire turns Auto Top-Up off and emails your Space administrators. Adding a payment method or topping up your balance manually turns it back on.