Cart

Check out the cart

Changed on

Purchases the listed phone numbers from the cart. Activation and monthly fees are debited from the account balance immediately, and the purchase cannot be reversed through this API.

post/v1/buy/cart/checkout

Request

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

Request body

idsstring[] required

Phone numbers from the cart to purchase.

Example request

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

Response

Returns a success confirmation. The phone numbers are purchased.

successboolean required

Indicates whether the request was successful.

Example response

{
  "success": true
}

Changes

    • 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

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API