CheckRate API

get rates for number

POST /api/rest/customer/v1/check-rate

Parameters

Name Description
data[type] Resource type (check-rates)
data[attributes][rateplan-id] Rateplan id
data[attributes][number] Number

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoyNCwiZXhwIjoxNzgxMjc4ODY3fQ.GqdvibVT76DCWxZ2MJN-BcJyQBXWadf0rqKrNGqrlK4
Host: example.org
Cookie: 

Route

POST /api/rest/customer/v1/check-rate

Body

{"data":{"type":"check-rates","attributes":{"rateplan-id":"fcd72f38-6674-11f1-9edb-da575d109341","number":"44444444"}}}

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
location: http://example.org/api/rest/customer/v1/check-rates
vary: Accept
etag: W/"37e8cdafae5e72c4ff07fddf3fd9bb75"
cache-control: max-age=0, private, must-revalidate
x-request-id: f7a7884c-e951-4887-b9f0-3d344eced031
x-runtime: 0.009300
content-length: 573

Status

201 Created

Body

{
  "data": {
    "id": "a2e0d74f-a584-44b2-880c-b75ff400b38b",
    "type": "check-rates",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/check-rates"
    },
    "attributes": {
      "rateplan-id": "fcd72f38-6674-11f1-9edb-da575d109341",
      "number": "44444444",
      "rates": [
        {
          "prefix": "444",
          "initial_rate": "0.0",
          "initial_interval": 60,
          "next_rate": "0.0",
          "next_interval": 60,
          "connect_fee": "0.0",
          "reject_calls": false,
          "valid_from": "2026-06-11T15:40:07.022Z",
          "valid_till": "2026-06-13T15:40:07.022Z",
          "network_prefix_id": 241998,
          "routing_tag_names": [
            "ua_cli",
            "us_cli"
          ],
          "id": "fce5c214-6674-11f1-9edb-da575d109341"
        }
      ]
    }
  }
}