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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoyMywiZXhwIjoxNzc2MzY1MjA2fQ.RCzTRJ5vZJ0OQ2Iydkw6gV86fSZx8t20mliTkyZ_DbA
Host: example.org
Cookie: 

Route

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

Body

{"data":{"type":"check-rates","attributes":{"rateplan-id":"7ab13cd8-39c4-11f1-b6d8-82ad38f4dd55","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/"8fa78ebc0c2ade2b63b9254ca5fbb845"
cache-control: max-age=0, private, must-revalidate
x-request-id: b8ae7f35-ecf1-4471-b707-2a0e0d3a9fd2
x-runtime: 0.009858
content-length: 573

Status

201 Created

Body

{
  "data": {
    "id": "33de4bad-07a9-45ec-aaa5-dbfe5bac6cf6",
    "type": "check-rates",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/check-rates"
    },
    "attributes": {
      "rateplan-id": "7ab13cd8-39c4-11f1-b6d8-82ad38f4dd55",
      "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-04-15T18:45:46.098Z",
          "valid_till": "2026-04-17T18:45:46.098Z",
          "network_prefix_id": 241998,
          "routing_tag_names": [
            "ua_cli",
            "us_cli"
          ],
          "id": "7ac24582-39c4-11f1-b6d8-82ad38f4dd55"
        }
      ]
    }
  }
}