Publish Pricing
Pricing plans for your SSG instance can be publicly published. Your customers can get direct access to your pricing in machine readable form, or you can use to populate pricing on your website.
You select to publicly publish pricing in Configuration | Pricing
. When you do so, your pricing is available in JSON format and accessed using a unique identifier:
https://ssg-portal.melroselabs.com/pubpricing/?6155ff08-3110-40d5-a530-67456a2d344a
The above shows the pricing for one of the Tyr SMS Gateway pricing plans (with pricing plan ID 6155ff08-3110-40d5-a530-67456a2
) and produces the following JSON:
{
"meta":[
{
"name":"Tyr Bulk SMS PP",
"notice":"1 day"
}
],
"current":[
{
"name":"United Kingdom",
"alpha2":"GB",
"prefix":"44",
"price":"0.01600000",
"currency":"GBP",
"effective":"2021-01-01T00:00:00+00:00"
}
],
"future":[
]
}
The “meta” section shows the name
the pricing plan and the number of days notice
for pricing changes.
The “current” section shows the current pricing. The definition of fields in this section is as follows.
Field | Description | Example |
---|---|---|
name | country name |
|
alpha2 | country code ISO-3166 |
|
prefix | country dialling prefix |
|
price | message price |
|
currency | currency symbol (GBP, EUR, etc) |
|
effective | date and time price took effect |
|
The “future” section shows any future pricing. The definition of fields is identical to “current”.