Billing Groups

Create a billing group

Changed on

Create a new billing group, which can be used to organize resources for billing purposes.

post/billing_groups

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/billing_groups
  • Auth: HTTP bearer

Request body

namestring

A name for the billing group

Example request

{
  "name": "string"
}

Response

Expected billing group response to a valid request

Example response

{
  "data": {
    "record_type": "billing_group",
    "id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
    "organization_id": "f1486bae-f067-460c-ad43-73a92848f902",
    "name": "My billing group name",
    "created_at": "2019-10-15T10:07:15.527Z",
    "updated_at": "2019-10-15T10:07:15.527Z",
    "deleted_at": null
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status