The Pricing object

    Attributes

    country string

    Name of the country

    country_code integer

    Country calling code of the country

    country_iso string

    ISO2 code for the country

    message

    Pricing for outbound and inbound messages, and outbound networks list

    phone_numbers

    Pricing for local, mobile, national, and tollfree numbers. Monthly rental and one-time setup prices for numbers based on the number’s capabilities of voice and/or sms.

    voice

    Pricing for outbound and inbound voice calls, split by local, tollfree and IP. Also specifies prefix-wise rates for outbound voice calls.

    Response

    {
      "api_id": "7ff5505c-93ca-11e7-9bde-024427e23b8a",
      "country": "United States",
      "country_code": 1,
      "country_iso": "US",
      "message": {
        "inbound": {
          "rate": "0.00000"
        },
        "outbound": {
          "rate": "0.00350"
        },
        "outbound_networks_list": [{
            "group_name": "US",
            "rate": "0.00350"
          },
          {
            "group_name": "United States - AT&T Mobility",
            "rate": "0.00350"
          }
        ]
      },
      "phone_numbers": {
        "local": {
          "rate": "1.0000",
          "rates": [{
              "capabilities": ["voice", "sms"],
              "rental_rate": "1.00",
              "setup_rate": "0.50"
            },
            {
              "capabilities": ["voice"],
              "rental_rate": "1.00",
              "setup_rate": "0.00"
            }]
        },
        "tollfree": {
          "rate": "1.00000",
          "rates": [{
              "capabilities": ["voice", "sms"],
              "rental_rate": "1.00",
              "setup_rate": "0.30"
            }]
        },
        "mobile": {
          "rate": "1.00000",
          "rates": [{
              "capabilities": ["sms"],
              "rental_rate": "2.00",
              "setup_rate": "0.30"
            }]
        },
        "national": {
          "rate": "1.00000",
          "rates": [{
              "capabilities": ["voice"],
              "rental_rate": "1.00",
              "setup_rate": "0.1000"
            }]
        }
      },
      "voice": {
        "inbound": {
          "ip": {
            "rate": "0.00300"
          },
          "local": {
            "rate": "0.00850"
          },
          "tollfree": {
            "rate": "0.02100"
          }
        },
        "outbound": {
          "ip": {
            "rate": "0.00300"
          },
          "local": {
            "rate": "0.00750"
          },
          "rates": [{
            "prefix": [
              "1"
            ],
            "rate": "0.00750"
          }],
          "tollfree": {
            "rate": null
          }
        }
      }
    }