Returns a list of all your billing plans
Successful response
Array of objects (BillingPlan) | |
object (Metadata) |
Authentication error
Authorization error
Array of objects (Error Base) | |||||||||
Array
|
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data_allocation_per_sim": 0,
- "default": true,
- "inserted_at": "string",
- "name": "string",
- "regions": [
- "string"
], - "type": "string",
- "updated_at": "string"
}
], - "metadata": {
- "total_pages": 13,
- "total_results": 13,
- "page_number": 3,
- "page_size": 1
}
}
Creates a new billing plan. The billing plan name must be unique.
Create billing plan
Successful response
object (BillingPlan) | |||||||||||||||||
|
Authentication error
Array of objects (Error Base) | |||||||||
Array
|
Authorization error
Array of objects (Error Base) | |||||||||
Array
|
{- "data_allocation_per_sim": 0,
- "default": true,
- "name": "string",
- "regions": [
- "string"
], - "type": "string"
}
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data_allocation_per_sim": 0,
- "default": true,
- "inserted_at": "string",
- "name": "string",
- "regions": [
- "string"
], - "type": "string",
- "updated_at": "string"
}
}
Returns the details regarding a specific SIM card.
Successful response
object (BillingPlan) | |||||||||||||||||
|
Authentication error
Array of objects (Error Base) | |||||||||
Array
|
Authorization error
Array of objects (Error Base) | |||||||||
Array
|
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data_allocation_per_sim": 0,
- "default": true,
- "inserted_at": "string",
- "name": "string",
- "regions": [
- "string"
], - "type": "string",
- "updated_at": "string"
}
}
Updates a specific billing plan.
Billing plan update request
Successful response
object (BillingPlan) | |||||||||||||||||
|
Authentication error
Array of objects (Error Base) | |||||||||
Array
|
Authorization error
Array of objects (Error Base) | |||||||||
Array
|
{- "data_allocation_per_sim": 0,
- "default": true,
- "name": "string",
- "regions": [
- "string"
], - "type": "string"
}
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data_allocation_per_sim": 0,
- "default": true,
- "inserted_at": "string",
- "name": "string",
- "regions": [
- "string"
], - "type": "string",
- "updated_at": "string"
}
}
If the provided billing plan is not the default billing plan and is not associated with any SIM card groups, it will be deleted.
Successful response
object (BillingPlan) | |||||||||||||||||
|
Authentication error
Array of objects (Error Base) | |||||||||
Array
|
Authorization error
Array of objects (Error Base) | |||||||||
Array
|
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data_allocation_per_sim": 0,
- "default": true,
- "inserted_at": "string",
- "name": "string",
- "regions": [
- "string"
], - "type": "string",
- "updated_at": "string"
}
}