post
https://api.octopush.com/v1/public/billing/settings/edit
Encoding : UTF-8
Authentication
Your "api-key" and "api-login" identifiers must be added in the headers.
Definition
This service allows you to edit your Automatic Reload settings.
Special parameters
| Name | Type | Description |
|---|---|---|
| is_active | boolean | This value is "true" when you want to active the Automatic Reload Settings. |
| quantity | int | This value is the quantity. |
| password | string | This value is the password. |
| country_code | string | This value is the country code. |
| product_name | string | This value is the product Name. |
| amount_to_order | int | This value is the the amount to order number. |
| monthly_budget | string | This value is the monthly budget value. |
How Our API Deals With Incorrect Data
The API we provide will try to interpret your request as best it can. If a parameter has the wrong value, we will try to understand it anyway. If the parameter has the wrong type, we will try to format it as best we can. Thus, we have determined default values, which are indicated in our documentation. If a parameter could not be recognized or "fixed", we will ignore it, but your request will be sent.
If one of your parameters does not have the right value, or does not have the right type, we will try to:
- "cast" (convert) it so that it can be understood.
- format it (delete prohibited characters for example)
Server Response Example in JSON
Success
{
"is_active": true,
"quantity": 150000,
"country_code": "MD",
"product_name": "sms_premium",
"amount_to_order": 100,
"monthly_budget": 200
}