update_billing_service
To manage the available services and their cost, use the account/update_billing_service method:
svc=account/update_billing_service¶ms={"itemId":<long>,
                       "name":<text>,
                       "type":<ubyte>,   
                       "intervalType":<ubyte>,
                       "costTable":<text>
}
Parameters
The request must contain the following parameters:
| Parameter | Description | 
|---|---|
| itemId | Resource (account) ID. | 
| name | Service name. You can find the complete list of services on the get_account_data page. | 
| type | Service type: 1 – on demand (for example, SMS). IntervalType defines how often the indicated limit is reset. 2 – periodic services. Payments are made after a specified time interval. | 
| intervalType | Reset interval type: 0 – never 1 – hourly 2 – daily 3 – weekly 4 – monthly. | 
| costTable | Limit and cost in the format described on the Services page. | 
Response
If the service is updated successfully, an empty object is returned. Otherwise, an error code is returned.