Skip to the page

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 plans
Needs the scopeworkspace:read
Only reads

This 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[].idstring

    The id of the plan: free, pro or max.

    One offreepromax

  • data[].namestring

    The name of the plan.

  • data[].priceCentsinteger

    What it costs a month, in cents of a US dollar.

  • data[].yearlyPriceCentsinteger

    What a year costs when it is paid by the year, in cents of a US dollar.

  • data[].extraEmailCentsnumber | null

    What every 1,000 emails past a limit cost, in cents of a US dollar. null when sending stops at the limit instead.

  • data[].limitsRecord<string, number>

    What the plan allows in a month, by limit id.

  • data[].currentboolean

    Whether the workspace is on this plan now.

  • data[].soldboolean

    Whether this installation sells the plan by the month, so a checkout can be opened.

  • data[].soldYearlyboolean

    Whether this installation sells the plan by the year.

  • connectedboolean

    Whether a payment provider is connected. Without one no plan can be bought.

  • intervalstring | null

    How the current plan is paid: by the month or by the year. null when nobody pays for it.

    One ofmonthyear