Price object reference

8x8 API uses the following universal object for describing the price across different APIs.

Object structure

Parameter name Parameter type Description
total decimal* The total price of the message.
perSms decimal Price per SMS (for SMS API only).
The total value is equivalent to perSms x smsCount.
currency string* Currency code of price information expressed in ISO 4217 format.

🚧

Please note that the Price object is optional and might not be included in the Delivery Receipts callback. When a message was not sent successfully, you will still receive Delivery Receipts with Failed/Undelivered status without incurring any charges. Hence, the price information is not available for the Delivery Receipts.

Examples of price object: SMS PriceChatApps Price

{
"price":{
"total":0.0375,
"perSms":0.0125,
"currency":"USD"
}
}
{
"price":{
"total":0.0375,
"currency":"USD"
}
}

Source: https://developer.8x8.com/connect/docs/price-object-reference · 8x8 CPaaS Developer Docs. Synced for support deflection.

Was this article helpful?
or
0 out of 0 found this helpful

0 Comments

Please sign in to leave a comment.

Didn't find what you were looking for?

Submit a request