v1

latestOpenAPI 3.0.02026-07-14347.5 KB
Pricing

Retrieve outbound pricing for a specific country.

Retrieves the pricing information based on the specified country.

get/get-pricing/outbound/{type}

Path parameters

typestring required

The type of service you wish to retrieve data about: either sms, sms-transit or voice.

Query parameters

api_keystring required

Your Nexmo API key.

api_secretstring required

Your Nexmo API secret.

countrystring required

A two letter country code. For example, CA.

Response

Pricing information for a specific country.

countryCodestring

Two letter country code.

countryDisplayNamestring

Readable country name.

countryNamestring

Readable country name.

currencystring

The currency that your account is being billed in (by default Euros—EUR). Can change in the Dashboard to US Dollars—USD.

defaultPricestring

The default price.

dialingPrefixstring

The dialling prefix.

Example response

{
  "countryCode": "CA",
  "countryDisplayName": "Canada",
  "countryName": "Canada",
  "currency": "EUR",
  "defaultPrice": "0.00620000",
  "dialingPrefix": "1",
  "networks": [
    {
      "currency": "EUR",
      "mcc": "302",
      "mnc": "530",
      "networkCode": "302530",
      "networkName": "Keewaytinook Okimakanak",
      "price": "0.00590000",
      "type": "mobile"
    }
  ]
}