Cart

Retrieve the cart

Changed on

Returns the current purchase cart, including the phone numbers it contains and the documents each requires.

get/v1/buy/cart

Request

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

Response

Returns the cart.

Example response

{
  "dids": [
    {
      "id": 541139862174,
      "activation_fee": "15.0",
      "monthly_fee": "10.0",
      "per_min": "0.01",
      "channels": "4",
      "city": "Buenos Aires",
      "country": "Argentina",
      "country_short_name": "AR",
      "number": "541139862174",
      "require_docs": [
        "address"
      ],
      "domestic_cli": true
    }
  ],
  "doc_types": [
    {
      "id": 2,
      "title": "Proof of address"
    }
  ]
}

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 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 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

    • warning

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

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status