Skip to main content

Create billing plan

POST 

/wireless/billing_plans

Creates a new billing plan. The billing plan name must be unique.

Request

Body

required

Create billing plan

    data_allocation_per_sim integer

    How much data can each SIM card consume

    default boolean

    Is the billing plan the default billing plan

    name string

    The name of the billing plan

    regions string[]

    The regions for which this billing plan applies

    type string

    The type of billing plan

Responses

200: Successful response

Schema

    data

    object

    id uuid

    The id of the billing plan

    data_allocation_per_sim integer

    How much data can each SIM card consume

    default boolean

    Is the billing plan the default billing plan

    inserted_at string

    When was the billing plan created

    name string

    The name of the billing plan

    regions string[]

    The regions for which this billing plan applies

    type string

    The type of billing plan

    updated_at string

    When was the billing plan last updated

401: Authentication error

Schema

    errors

    object[]

  • Array [

  • code string

    an application-specific error code, expressed as a stringified integer.

    title string

    a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. Do not include punctuation in the title.

    detail string

    a human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.

    pointer string

    JSON pointer to the field which is causing the error.

  • ]

403: Authorization error

Schema

    errors

    object[]

  • Array [

  • code string

    an application-specific error code, expressed as a stringified integer.

    title string

    a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. Do not include punctuation in the title.

    detail string

    a human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.

    pointer string

    JSON pointer to the field which is causing the error.

  • ]

Loading...