The published customer prices (public)
GET /v1/prices
See https://ordan.io/docs/authentication and https://ordan.io/docs/errors for authority, scopes and retries. Paid usage reports customer charges; preview usage reports provider-cost allowance consumption. Money fields use the units specified in their schemas.
Operation ID: get__v1_prices.
Authentication
No session or bearer credential is required by this operation. Required token/body fields still apply.
Request
No request body is declared in this contract.
Request examples
These are request templates, not executed requests. Replace REPLACE_… and <…> placeholders, set the credential environment variables, and supply any conditional fields your action needs. JSON values are illustrative, not live records. Use a stable idempotency key per logical operation.
bash
curl --request GET --url 'https://api.ordan.io/v1/prices'js
const response = await fetch("https://api.ordan.io/v1/prices", {
method: "GET",
headers: {
},
});
const text = await response.text();
if (!response.ok) throw new Error(`${response.status}: ${text}`);
const result = text ? JSON.parse(text) : null;python
import json
import os
from urllib.request import Request, urlopen
request = Request("https://api.ordan.io/v1/prices",
method="GET",
headers={
},
)
with urlopen(request, timeout=30) as response:
text = response.read().decode("utf-8")
result = json.loads(text) if text else NoneResponses
| Status | Meaning |
|---|---|
400 | Invalid request; device token polling uses RFC 8628 string errors |
402 | spend_limit_exceeded: inspect details.scope (org/grant/line) and outstanding_micros |
403 | Missing authority, policy_violation, approval_required (details.approval_request), limit_reached, destination_not_supported or feature_disabled (details.feature) |
409 | Conflict, idempotency in progress, or a2p_registration_pending; retrieve state instead of duplicating work |
422 | validation_error: the request is not valid; details name each field |
429 | Rate limited; back off and retain the same idempotency key |
502 | provider_error: unknown routes need verified quotes; ambiguous operations retain resource references and cost holds |
2XX | Success (created objects use 201) |
default | Error |
Status ranges such as 2XX are retained exactly as declared. See Errors and recovery for retries and pending outcomes.
400 response
Content type: application/json
Type: Error
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
error | object | Required | Additional properties allowed |
error.code | string | Required | — |
error.details | object | Optional | Additional properties allowed |
error.message | string | Required | — |
JSON Schema
json
{
"$ref": "#/components/schemas/Error"
}2XX response
Content type: application/json
Type: PriceList
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
currency | USD | Optional | — |
effective_at | string | Optional | — |
minimum_top_up_micros | string | Optional | Integer USD micros as a decimal string; $1 = 1000000 micros. pattern: ^[0-9]+$ |
number | object | Optional | Additional properties allowed |
number.monthly | object | Optional | Additional properties allowed |
number.monthly.micros | anyOf: string; null | Optional | — |
number.monthly.priced_per_item | boolean | Optional | — |
number.upfront | object | Optional | Additional properties allowed |
number.upfront.micros | anyOf: string; null | Optional | — |
number.upfront.priced_per_item | boolean | Optional | — |
object | Exactly price_list | Required | — |
plan | object | Optional | Additional properties allowed |
plan.max_lines | anyOf: integer; null | Optional | — |
plan.monthly_micros | string | Optional | Integer USD micros as a decimal string; $1 = 1000000 micros. pattern: ^[0-9]+$ |
recording | object | Optional | Additional properties allowed |
registration | object | Optional | Additional properties follow the schema below |
sms | Array of object | Optional | — |
speech | anyOf: object; null | Optional | — |
transfer | object | Optional | Additional properties allowed |
version | string | Required | — |
voice | Array of object | Optional | — |
JSON Schema
json
{
"$ref": "#/components/schemas/PriceList"
}Illustrative response template
Placeholder values show the shape, not a live response. Nullable costs remain null rather than implying zero usage.
json
{
"currency": "USD",
"effective_at": "<effective_at>",
"minimum_top_up_micros": "<minimum_top_up_micros>",
"number": {
"monthly": {
"micros": null,
"priced_per_item": false
},
"upfront": {
"micros": null,
"priced_per_item": false
}
},
"object": "price_list",
"plan": {
"max_lines": null,
"monthly_micros": "<monthly_micros>"
},
"recording": {},
"registration": {},
"sms": [
{}
],
"speech": null,
"transfer": {},
"version": "<version>",
"voice": [
{}
]
}default response
Content type: application/json
Type: Error
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
error | object | Required | Additional properties allowed |
error.code | string | Required | — |
error.details | object | Optional | Additional properties allowed |
error.message | string | Required | — |
JSON Schema
json
{
"$ref": "#/components/schemas/Error"
}