Update an MCCMNC rate override
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rate_per_unit": 0.05
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}"
payload = { "rate_per_unit": 0.05 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({rate_per_unit: 0.05})
};
fetch('https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}', 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/mccmnc-overrides/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'rate_per_unit' => 0.05
]),
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/mccmnc-overrides/{id}"
payload := strings.NewReader("{\n \"rate_per_unit\": 0.05\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rate_per_unit\": 0.05\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rate_per_unit\": 0.05\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "operator_01HZY8OVR",
"organization_id": "org_01HZY8ORG",
"organization_name": "Acme Corp",
"mccmnc": "310260",
"mcc": "310",
"mnc": "260",
"operator_name": "T-Mobile USA",
"country": "United States",
"rate_per_unit": 0.05,
"rate_cents": 5,
"currency": "USD",
"created_at": "2026-08-01T09:00:00.000Z",
"updated_at": "2026-08-02T12:00:00.000Z"
},
"meta": {
"request_id": "req_01HZY8EXAMPLE",
"timestamp": "2026-08-02T12:00:00.000Z"
}
}Billing
Update an MCCMNC rate override
Updates the rate or currency of an existing MCCMNC rate override. Provide at least one changeable field. Regular admins may only update overrides owned by their own organization; a cross-organization id resolves as not found. Returns the updated override.
PATCH
/
api
/
v1
/
billing
/
mccmnc-overrides
/
{id}
Update an MCCMNC rate override
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rate_per_unit": 0.05
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}"
payload = { "rate_per_unit": 0.05 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({rate_per_unit: 0.05})
};
fetch('https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}', 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/mccmnc-overrides/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'rate_per_unit' => 0.05
]),
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/mccmnc-overrides/{id}"
payload := strings.NewReader("{\n \"rate_per_unit\": 0.05\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rate_per_unit\": 0.05\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/billing/mccmnc-overrides/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rate_per_unit\": 0.05\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "operator_01HZY8OVR",
"organization_id": "org_01HZY8ORG",
"organization_name": "Acme Corp",
"mccmnc": "310260",
"mcc": "310",
"mnc": "260",
"operator_name": "T-Mobile USA",
"country": "United States",
"rate_per_unit": 0.05,
"rate_cents": 5,
"currency": "USD",
"created_at": "2026-08-01T09:00:00.000Z",
"updated_at": "2026-08-02T12:00:00.000Z"
},
"meta": {
"request_id": "req_01HZY8EXAMPLE",
"timestamp": "2026-08-02T12:00:00.000Z"
}
}Authorizations
BearerApiKey
Dashboard JWT token from Clerk
Path Parameters
Body
application/json
⌘I