Skip to main content
GET
/
bundle_pricing
/
billing_bundles
/
{bundle_id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const billingBundle = await client.bundlePricing.billingBundles.retrieve(
  '8661948c-a386-4385-837f-af00f40f111a',
);

console.log(billingBundle.data);
{
  "data": {
    "id": "7ecd040e-6bac-4139-9160-3c0427d98fea",
    "name": "Australia Basic",
    "cost_code": "BUNDLE-PRICING-BASIC-MRC",
    "active": true,
    "is_public": true,
    "created_at": "2023-12-25",
    "bundle_limits": [
      {
        "id": "e6a32ea9-953b-4622-bbba-9f7bcf7e6717",
        "service": "E911",
        "metric": "number",
        "created_at": "2023-12-25",
        "updated_at": "2023-12-25",
        "limit": 1,
        "rate": "5",
        "country_iso": "AU",
        "country_code": 61,
        "country": "<string>",
        "direction": "inbound",
        "types": [
          "local"
        ],
        "billing_service": "emergency"
      }
    ],
    "slug": "basic-au-e4f8"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization_bearer
string

Format: Bearer <TOKEN> Authenticates the request with your Telnyx API V2 KEY

Path Parameters

bundle_id
string<uuid>
required

Billing bundle's ID, this is used to identify the billing bundle in the API.

Example:

"8661948c-a386-4385-837f-af00f40f111a"

Response

Successful Response

data
BillingBundleSchema · object
required