Skip to content

Credit notifications

Messaging plus allows you to setup credit thresholds for your accounts that automatically trigger webhook or email notifications when your account falls below the specified threshold.

An account can have multiple different thresholds configured, making webhook requests to different URLs, or sending emails to different addresses.

Thresholds

Setup thresholds which trigger when your account falls below a fixed number of credits remaining, or below a percentage of a total credit type.

Packaged credits

We support two types of thresholds for packaged credits:

typeidfunctionality
Fixed numberpackaged_fixed_numberTrigger threshold equals the specified number
Percentagepackaged_percentageTrigger threshold calculated as a percentage of an accounts schedule_refill_amount

Percentage calculation

In the case that an account has a schedule_refill_amount of 200, and a packaged_percentage threshold of 0.1: The threshold would trigger when the account falls under 20 remaining packaged credits.

We support one type of threshold for paid credits:

typeidfunctionality
Fixed numberpaid_fixed_numberTrigger threshold equals the specified number

Negative credits

Accounts can go into negative credits, and we support triggers for that balance. We support two types of thresholds for negative credit balances:

typeidfunctionality
Fixed numberpaid_negative_fixed_numberTrigger threshold equals the specified number
Percentagepaid_negative_percentageTrigger threshold calculated as a percentage of an accounts negative_limit

Percentage calculation

In the case that an account has a negative_limit of 1200, and a paid_negative_percentage threshold of 0.1: The threshold would trigger when the account exceeds -1080 negative credits consumed.

Messaging Plus is a Cymba API