Create a volume pricing tier
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/billing/volume-tiers/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channel": "sms",
"country_code": "US",
"min_volume": 0,
"max_volume": 10000,
"price_cents_per_unit": 75
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/billing/volume-tiers/"
payload = {
"channel": "sms",
"country_code": "US",
"min_volume": 0,
"max_volume": 10000,
"price_cents_per_unit": 75
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
channel: 'sms',
country_code: 'US',
min_volume: 0,
max_volume: 10000,
price_cents_per_unit: 75
})
};
fetch('https://api.orbit.devotel.io/api/v1/billing/volume-tiers/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/billing/volume-tiers/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'channel' => 'sms',
'country_code' => 'US',
'min_volume' => 0,
'max_volume' => 10000,
'price_cents_per_unit' => 75
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/billing/volume-tiers/"
payload := strings.NewReader("{\n \"channel\": \"sms\",\n \"country_code\": \"US\",\n \"min_volume\": 0,\n \"max_volume\": 10000,\n \"price_cents_per_unit\": 75\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/billing/volume-tiers/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"channel\": \"sms\",\n \"country_code\": \"US\",\n \"min_volume\": 0,\n \"max_volume\": 10000,\n \"price_cents_per_unit\": 75\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/billing/volume-tiers/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"channel\": \"sms\",\n \"country_code\": \"US\",\n \"min_volume\": 0,\n \"max_volume\": 10000,\n \"price_cents_per_unit\": 75\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "8f3b2c1a-0d4e-4f6a-9b2c-1a0d4e4f6a9b",
"organization_id": null,
"channel": "sms",
"country_code": "US",
"min_volume": 0,
"max_volume": 10000,
"price_cents_per_unit": 75,
"created_at": "2026-08-02T12:00:00.000Z"
},
"meta": {
"request_id": "req_01H8XGJ",
"timestamp": "2026-08-02T12:00:00.000Z"
}
}Billing
Create a volume pricing tier
Creates a volume-discount pricing tier for a channel, optionally scoped to a country. Provide the volume band (min_volume/max_volume) and price_cents_per_unit. Owners/admins create tiers for their own org; only super-admins may target another org or platform-default scope (organization_id: null).
POST
/
api
/
v1
/
billing
/
volume-tiers
/
Create a volume pricing tier
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/billing/volume-tiers/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channel": "sms",
"country_code": "US",
"min_volume": 0,
"max_volume": 10000,
"price_cents_per_unit": 75
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/billing/volume-tiers/"
payload = {
"channel": "sms",
"country_code": "US",
"min_volume": 0,
"max_volume": 10000,
"price_cents_per_unit": 75
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
channel: 'sms',
country_code: 'US',
min_volume: 0,
max_volume: 10000,
price_cents_per_unit: 75
})
};
fetch('https://api.orbit.devotel.io/api/v1/billing/volume-tiers/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/billing/volume-tiers/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'channel' => 'sms',
'country_code' => 'US',
'min_volume' => 0,
'max_volume' => 10000,
'price_cents_per_unit' => 75
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/billing/volume-tiers/"
payload := strings.NewReader("{\n \"channel\": \"sms\",\n \"country_code\": \"US\",\n \"min_volume\": 0,\n \"max_volume\": 10000,\n \"price_cents_per_unit\": 75\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/billing/volume-tiers/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"channel\": \"sms\",\n \"country_code\": \"US\",\n \"min_volume\": 0,\n \"max_volume\": 10000,\n \"price_cents_per_unit\": 75\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/billing/volume-tiers/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"channel\": \"sms\",\n \"country_code\": \"US\",\n \"min_volume\": 0,\n \"max_volume\": 10000,\n \"price_cents_per_unit\": 75\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "8f3b2c1a-0d4e-4f6a-9b2c-1a0d4e4f6a9b",
"organization_id": null,
"channel": "sms",
"country_code": "US",
"min_volume": 0,
"max_volume": 10000,
"price_cents_per_unit": 75,
"created_at": "2026-08-02T12:00:00.000Z"
},
"meta": {
"request_id": "req_01H8XGJ",
"timestamp": "2026-08-02T12:00:00.000Z"
}
}Authorizations
BearerApiKey
Dashboard JWT token from Clerk
Body
application/json
Channel the tier applies to.
Inclusive lower bound of the volume band.
Required range:
x >= 0Per-unit price in cents within the band.
Required range:
x >= 0ISO 3166-1 alpha-2 country code, or null for all countries.
Exclusive upper bound; null for an open-ended top tier.
Target org (super-admin only; null = platform default).
⌘I