If you have a bulk SMS website integrated with our API-x, and a hosted SIM, you might have probably noticed that the returned parameter; “units_used” on JSON Response Data do not usually include the number of SMS units charged for DND phone numbers using SIM Hosting.
This is because unlike bulk SMS through the basic route, whereby you are billed for messages sent at the point of sending, SMS through the SIM Hosting service are billed at the point of delivery. Therefore, the number of units used for DND numbers are not accounted for in the “units_used” parameter.
However, we are pleased to let you know that a new parameter has now been added to the returned API response on success when a message has been sent. This new parameter is the “units_calculated”
What Does units_calculated Account for?
The units_calculated parameter gives the number of units used for both non-DND numbers and an estimate of the cost of delivery to DND phone numbers through the hosted SIM.
As such, when you need to know the total number of units an SMS will cost you, simply refer to the units_calculated parameter.
We believe that this will improve your SMS experience using our robust API-x. Please stay safe.