latestOpenAPI 3.1.0PortSIP2026-08-105581112.6 MB

577415d4a3d5

Billing

Update a call rate

Update call rate.

post/call_rates/{id}

Path parameters

idstring required

The unique ID of the resource.

Example:NzAwNTUxOTA5NzczMTQ4MTYw

The unique ID of the call rate.

Request body

prefixstring

The call prefix of the rating.

type'LOCAL' | 'NATIONAL' | 'INTERNATIONAL' | 'MOBILE'

The type of the rating:
Can be either:

  • LOCAL:
  • NATIONAL:
  • INTERNATIONAL:
  • MOBILE:
free_secondsinteger

Free seconds of the rating.

grace_periodinteger

Grace period of the rating.

interval_1integer

The first interval of the rating.

interval_ninteger

The subsequent interval of the rating after the first one.

connect_feenumber double

Connect fee of the rating. Precision is five digits.

postcall_surchargenumber double

Postcall surcharge of the rating. Precision is five digits.

price_1number double

The price of the first interval. Precision is five digits.

price_nnumber double

The price of the subsequent interval after the first one. Precision is five digits.

descriptionstring

The description text for this rule.

Response

OK