List plans
The plans, what each allows in a month, what it costs by the month and by the year, what emails past a limit cost, and which one the workspace is on.
opensend billing plansThis method takes no input.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"list"Always
list.dataobject[]Every plan, cheapest first.
data[].object"plan"Always
plan.data[].idstringThe id of the plan:
free,proormax.One of
freepromaxdata[].namestringThe name of the plan.
data[].priceCentsintegerWhat it costs a month, in cents of a US dollar.
data[].yearlyPriceCentsintegerWhat a year costs when it is paid by the year, in cents of a US dollar.
data[].extraEmailCentsnumber | nullWhat every 1,000 emails past a limit cost, in cents of a US dollar.
nullwhen sending stops at the limit instead.data[].limitsRecord<string, number>What the plan allows in a month, by limit id.
data[].currentbooleanWhether the workspace is on this plan now.
data[].soldbooleanWhether this installation sells the plan by the month, so a checkout can be opened.
data[].soldYearlybooleanWhether this installation sells the plan by the year.
connectedbooleanWhether a payment provider is connected. Without one no plan can be bought.
intervalstring | nullHow the current plan is paid: by the
monthor by theyear.nullwhen nobody pays for it.One of
monthyear