Cart

Adds the listed phone numbers to the purchase cart.

put/v1/buy/cart

Request

  • Base URL
    https://api.wavix.com
  • URL
    https://api.wavix.com/v1/buy/cart
  • Auth
    HTTP bearer

Request body

idsstring[] required

Phone numbers to add to the cart.

Example request

{
  "ids": [
    "541139862174",
    "541139862175"
  ]
}

Response

Returns the phone numbers now in the cart.

idinteger required

Phone number ID.

activation_feestring required

One-time activation fee in USD.

monthly_feestring required

Monthly fee in USD.

per_minstring required

Price per inbound minute in USD.

channelsstring int32 required

Maximum number of concurrent inbound calls.

citystring required

City where the phone number originates.

countrystring required

Country where the phone number originates.

country_short_namestring required

Two-letter ISO country code.

cnamboolean nullable required

Indicates whether CNAM can be activated.

free_mininteger required

Number of free inbound minutes.

numberstring required

Phone number in E.164 format.

require_docsDocumentType[] required

Documents to activate the number.

sms_enabledboolean required

Indicates whether the phone number can receive inbound SMS and MMS messages.

sms_pricenumber float required

Price per inbound SMS segment in USD.

domestic_cliboolean

Indicates whether the number can be used as the Caller ID for local calls.

Example response

[
  {
    "activation_fee": "15.0",
    "channels": "4",
    "city": "Buenos Aires",
    "cnam": false,
    "country": "Argentina",
    "country_short_name": "AR",
    "domestic_cli": false,
    "free_min": 0,
    "id": 541139862174,
    "monthly_fee": "10.0",
    "number": "541139862174",
    "per_min": "0.01",
    "require_docs": [],
    "sms_enabled": false,
    "sms_price": 0
  }
]

Changes

    • breaking

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

    • warning

      added the new address enum value to the // response property for the response status

    • warning

      added the new id enum value to the // response property for the response status

    • warning

      added the new localaddress enum value to the // response property for the response status

    • info

      added the non-success response with the status